I want to use a counter
http://plnkr.co/edit/eRWPuEP8LdQBbHksIL3S?p=info directive inside ng-repeat
like
<div ng-repeat="item in items">
<div counter value="item" min="1" max="30" step="3" editable></div>
</div>
in my controller
$scope.items = []
items.push(1);
items.push(2);
But it is not working.
Edit:1
in my controller
$scope.items = []
$scope.items.push(1);
$scope.items.push(2);
Edit 2:
My Plunkr : http://plnkr.co/edit/ji2ppBp0PyRCzAT4UhMj?p=preview