I am using Play 2.3 with Scala 2.11.6 and Angular. I have a page template that contains an Angular application.
However, if I use $index in a Scala template like this:
<div ng-repeat="message in messages track by $index">{{message}}</div>
, I will get this warning during the compilation.
possible missing interpolator: detected interpolated identifier `$index`
I tried to escape dollar sign with $$index
, but it didn't work.