I am working with a .json object that is displayed using Angular's ng-bind directive:
<p ng-bind-html="paragraph" ng-repeat="paragraph in content.sections[0].pages[1].paragraphs"></p>
Here is the structure of the .json data:
{
"header":"A",
"url":"#/us/en/a/b/c/c",
"paragraphs":[
"Something something <a class='plink' href='http://blahblah.com' target='_blank'>blah blah</a>."
]
}
Although the code is successfully pulled through, the class is not applied to the link. There are no errors in the console.
What would be the best way for me to add a class to that link?