I have json file with key:value, for example "TRANS_NAME": "Some name". In controller:
$scope.translate = TranslateData.get().data; //gets that json with key : value
In template/html
<div ng-repeat="contact in contacts">
<label class="col-sm-3 control-label">{{contacts.keyTranslationName}}</label>
</div>
I need to get contacts.keyTranslationName from $scope.translate as a key, is it possible to do something like this:
{{ translate.{{contacts.keyTranslationName}} }}