$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@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev