Custom attribute gives parsing error when using with an angular 2.0.0-beta.0

Angular by default uses property binding but a doesn’t have a property data-loc. To tell Angular explicitly to use attribute binding, use instead:
try this one may work for you.

<a href="https://stackoverflow.com/questions/35519810/javascript:void(0)" title="{{inst.title}}" [attr.data-loc]="inst.actionval">

or

<a href="https://stackoverflow.com/questions/35519810/javascript:void(0)" title="{{inst.title}}" attr.data-loc="{{inst.actionval}}">

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)