Hitu Bansal Hitu Bansal - 4 months ago 7
AngularJS Question

Title is not working in Angular js

I am trying to set title attribute

using ng-attr-title and i am using this code

<a href="" ng-attr-title="Delete">dddd</a>


and here is my jsfiddle

http://jsfiddle.net/vot70qya/

and this is not working

Answer

i found the solution

<a href="" ng-attr-title="{{'Delete'}}">dddd</a>