jsFiddle: ngList and ngPluralize AngularJS Example
- August 14, 2014 11:11 AM
- Templating, AngularJS, Examples & Tutorials, Javascript
- Comments (0)
These two directives individually are pretty awesome, but they also go together really well, at least for demonstrating features. ngList converts string lists into arrays, while ngPluralize converts arrays into different strings based on the item count in the list. Both are important to know.