Sunday, 15 September 2013

How can I get an index value from A to Z using data-ng-repeat?

How can I get an index value from A to Z using data-ng-repeat?

I have been using before the index value like this:
{{ $index }}
What I really need is instead of getting a number I would like to get an
uppercase character going from A to Z. There should be no problem of
running out of characters as I have at the most only 10 things that are
repeated.
Can someone tell me how I can do this?

No comments:

Post a Comment