I want to bind Angularjs data inside onClick function,
I have tried, but it's not working.
In below example I want to bind index value inside onclick function. What's wrong with my code. Can anyone point out this..
/**Example:**/
<input type="text" ng-repeat="items in itemList" onClick=tab("{{$index}}")