[keycloak-dev] Angular Translate from controllers and services

Stian Thorgersen sthorger at redhat.com
Wed Nov 18 07:24:34 EST 2015


Works like a charm - thanks :)

On 18 November 2015 at 10:58, Michael Gerber <gerbermichi at me.com> wrote:

> $translate.instant('label')
>
> You can find the doc here:
>
> https://angular-translate.github.io/docs/#/api/pascalprecht.translate.$translate
>
> Am 18. November 2015 um 10:26 schrieb Stian Thorgersen <
> sthorger at redhat.com>:
>
> There are no examples on how to use translations from within services and
> controllers.
>
> $translate('label') doesn't work as it just returns a promise.
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20151118/3f5c5fa5/attachment.html 


More information about the keycloak-dev mailing list