I couldn't get to the bottom of why it was interpreting $i as NaN and then suffixing the ndex on to it.
There is a workaround for it however, within the same tag, I put in an ng-init="idx = ($index + 1)" and then change enter and rate calls to use idx instead.
For some strange reason, if I put $index as a parameter in the callbacks, it gets replaced as NaNndex.
It could very well be due to a special case on this particular setup...
I couldn't get to the bottom of why it was interpreting $i as NaN and then suffixing the ndex on to it.
There is a workaround for it however, within the same tag, I put in an ng-init="idx = ($index + 1)" and then change enter and rate calls to use idx instead.
For some strange reason, if I put $index as a parameter in the callbacks, it gets replaced as NaNndex.
It could very well be due to a special case on this particular setup...