Value of increment index by angularjs in ng-repeat

I want to increment index value by 20. According to code, it can only increase 1. Can anyone please tell me how to solve it using angularjs. or I can use some javascript variable and increase? I dont know how to achieve it.


            
{{risks.riskType}}
{{risks.riskValueTrimmed}}
{{risks.riskTitle}}

All td’s are almost overlapping. I want to put them side by side.

I may be missing the point but if you’re using it to control the left position can you not just multiply $index by 20 in the binding?

Hello, buddy!责编内容来自:Hello, buddy! (源链) | 更多关于

阅读提示:酷辣虫无法对本内容的真实性提供任何保证,请自行验证并承担相关的风险与后果!
本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 前端开发 » Value of increment index by angularjs in ng-repeat

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录