I have a ng-repeat and I want to call a function in a ng-mouseover using two parameter as follow:
ng-mouseover="textlimit({{item.id}}, 900)"
If I do that the variable appears correctly in the sources, but the console outputs an angular syntax error. My function isn't working since then I added this variable.
How should I proceed?
PS: the variable is a number: 1, 2, 3, 4 etc.
Thanks
ng-mouseover="textlimit(item.id, 900)"Remove interpolation.