I am wondering whether I can set the repeat_expression in the scope and bind it in HTML?
Such as:
HTML
<ul>
<li ng-repeat="expression">{{item.name}}</li>
</ul>
or
<ul>
<li ng-repeat={{expression}}>{{item.name}}</li>
</ul>
Controller
$scope.expression = "item in items";