dynamic - AngularJS: How do I access $scope objects after being dynamically created -
i have created dynamic filters based on dynamic columns in table:
using code below dynamically generate binding model:
<div data-ng-repeat="label in blueprintitems[0].labels" class="form-group col-sm-3 col-md-2"> <label>{{label}}</label> <input type="text" class="form-control" placeholder="{{label}}" data-ng-model="dynamicfilters[label]" value="hello"> </div>
the problem not know how access these dynamic models. can see in picture, dynamic models show in angularjs chrome extension viewer:
but when inspect using chrome dev tools, shows empty object:
Comments
Post a Comment