vitalets/lazy-model

Doesn't work inside ng-repeat.

Opened this issue · 1 comments

I've noticed the directive doesn't work when inside ng-repeat, for example:

<div class="checkbox" data-ng-repeat="check in checked">
        <label><input  type="checkbox" lazy-model="check" ng-true-value="1" ng-false-value="0"></input>{{check}}</label>
</div>

Will not work at all, won't even check initially. I suspect is has something to do with the way the model is kept for the different iterations of the repeat