how to include angular translator in better way.?
问题 In one of my project im using "https://github.com/angular-translate/angular-translate" for static text translation in Client side. in Controller i have code like this: $scope.myName = serverValue.name; in html view i have code like this : <p>{{myName|translate}}</p> And also i saw below code section can be used to translate the run time values. <p translate="{{myName}}"></p> Here my question is "Which is best and Why ? " Note : "Before down voting please leave your comments" 回答1: substantial