Is there a way to ng-repeat a defined number of times instead of always having to iterate over an array?
ng-repeat
For example, below I want the list item to show
simple way:
public defaultCompetences: Array = [1, 2, 3];
in the component/controller and then:
This code is from my typescript project but could be rearranged to pure javascript 0 讨论(0) 查看其它26个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
This code is from my typescript project but could be rearranged to pure javascript