AngularJs app does not bind data to DOM -


i have created simple angularjs app.i used ng-repeat bind data dom

  <div class="row folder" ng-repeat="f in viewmodel.folders">     <div>{{f.name}}</div>     </div> 

so weird ,my data not bind dom until click button "ng-click" action. not know why ?

i resolved myself call $scope.apply() @ end.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -