How to divide a json into several parts in AngularJS
I was designing a waterfall page, and these days I'm getting started on
Angularjs. I wanna divide the json data into several parts to display wrap
the each in a different DIV. The whole data is in array, called items.
<div id="dym-waterfall"> <div class="dym" ng-repeat="item in items">
</div>
<div class="dym" ng-repeat="item in items"> </div>
<div class="dym" ng-repeat="item in items"> </div>
<div class="dym" ng-repeat="item in items"> </div>
</div>
No comments:
Post a Comment