Hoping someone can help me with this challenge.
I request JSON data from the server using $http.get();
The data from the server returns an object. One value in the object contains HTML markup. This markup is injected to the page using <div ng-bind-html-unsafe="content" />
Within the markup, there is a custom directive named <poll />
Using the standard AngularJS directive structure, it does not pick up the directive and link it.
How can I compile this HTML once retrieved from the server and call the link function on the directive?
Thanks!