Issue
Is there a way to get the current used language in a controller (without $translateProvider
)?
Couldn't find anything in the $translate
service.
Solution
$translate.use()
is a getter and setter.
See this demo found in links of docs:
http://jsfiddle.net/PascalPrecht/eUGWJ/7/
Answered By - charlietfl
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.