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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -