<div dir="ltr">Works like a charm - thanks :)</div><div class="gmail_extra"><br><div class="gmail_quote">On 18 November 2015 at 10:58, Michael Gerber <span dir="ltr">&lt;<a href="mailto:gerbermichi@me.com" target="_blank">gerbermichi@me.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div style="color:#000000;font-family:SFNSText,&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:15px;font-style:normal;font-variant:normal;font-weight:300;letter-spacing:normal;line-height:22.5px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">$translate.instant(&#39;label&#39;) </div><div style="color:#000000;font-family:SFNSText,&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:15px;font-style:normal;font-variant:normal;font-weight:300;letter-spacing:normal;line-height:22.5px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="color:#000000;font-family:SFNSText,&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:15px;font-style:normal;font-variant:normal;font-weight:300;letter-spacing:normal;line-height:22.5px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">You can find the doc here:</div><div style="color:#000000;font-family:SFNSText,&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:15px;font-style:normal;font-variant:normal;font-weight:300;letter-spacing:normal;line-height:22.5px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a style="color:#0a8de9" href="https://angular-translate.github.io/docs/#/api/pascalprecht.translate.$translate" target="_blank">https://angular-translate.github.io/docs/#/api/pascalprecht.translate.$translate</a></div></div><span class=""><div><br>Am 18. November 2015 um 10:26 schrieb Stian Thorgersen &lt;<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>&gt;:<br><br></div></span><div><blockquote type="cite"><div><span class=""><div dir="ltr">There are no examples on how to use translations from within services and controllers.<div><br></div><div>$translate(&#39;label&#39;) doesn&#39;t work as it just returns a promise.</div></div></span><div><span>_______________________________________________<br>keycloak-dev mailing list<br><a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></span></div></div></blockquote></div></div></blockquote></div><br></div>