angularjs - Angular translate with html and ngHref -


i have key/value in json file use in angular-translate:

{"meeting_link": "<br/>maybe want see <a class=\"pink-link\" ng-href=\"/{{meetinglink}}/{{meetingid}}\">full meeting<a/> first?"} 

when invoke translate in html this:

 <span      ng-bind-html="'global.remove_modal.meeting_link' | translate:     { meetinglink: meetingdata.buttonlink, meetingid: meetingdata.id}">   </span> 

it not work. if replace ng-href in anchor:href="/{{meetingdata.buttonlink}}/{{meetingdata.id}} works. besides want add ng-click anchor element, guess angular directives in html not work.

can trick make happen?


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -