2
一个跟进这个问题:AngularJS data bind in ng-bind-html?
,如果有什么,我想插连接到NG-重复创建范围值是多少?
myDict = {'Suggestion' : $interpolate('Vote here if you think {{player.name}} is right!')($scope)
...};// $scope is wrongly passed here as 'player' is not a scope variable,
然后
<div ng-repeat="player in players">
<span ng-bind-html="myDict['Suggestion']"></span>
</div>
是否有可能做这样的事情没有自定义指令?