Title | Added | Status | Last reviewed |
---|---|---|---|
App Config Pipe |
v2.4.0 |
Active |
2018-05-24 |
Retrieves values from the application configuration file directly.
<adf-login
copyrightText="{{ 'application.copyright' | adfAppConfig }}">
</adf-login>
You can use the pipe parameter to pass a fallback value which will be used if the property name is not found:
<adf-login
copyrightText="{{ 'application.copyright' | adfAppConfig:'Fallback Text' }}">
</adf-login>
You can also chain values with other pipes such as the translation pipe:
<adf-login
copyrightText="{{ 'application.copyright' | adfAppConfig | translate }}">
</adf-login>