AngularJS 最經常使用的八種功能

第一 迭代輸出之ng-repeat標籤 ng-repeat讓table ul ol等標籤和js裏的數組完美結合 <ul> <li ng-repeat="person in persons"> {{person.name}} is {{person.age}} years old. </li> </ul> 你甚至能夠指定輸出的順序: <li ng-repeat="person in persons
相關文章
相關標籤/搜索