Hi guys I'm looking for a way to use variable in angularJS expression. Something like this :
{{locale['static text' + variable]}}
I've tried many ways include escape the quote, but it doesn't to work.
For more information:
locale is $rootScope.locale where I put the locale content depending language.
variable is $scope.variable
localeis an array and you are attempting to read a particular entry in this array using the index present invariable?