ng-repeat usage
ssbrewco opened this issue · 1 comments
ssbrewco commented
Hey folks,
Apologies for the noob question, but any advice on proper usage with ng-repeat?
<div class="dg" ng-repeat="x in myArray">
<ng-dial-gauge ng-model="foo">
</ng-dial-gauge>
</div>
I can get ng-repeat to instantiate x number of gauges, but I'm unable to bind to each element in my controller using ng-model.
Thanks in advance!
ssbrewco commented
Pilot error - proper referencing in my controller addresses this.