Inside the controller:
$scope.content = $sce.trustAsHtml('<some-directive></some-directive>');
The template:
<!-- Works perfectly -->
<some-directive></some-directive>
<!-- HTML loaded correctly, but the directive inside won't execute -->
<div class="article__main" ng-bind-html="content"></div>
What is going on here, exactly? How do I tell angular to check the DOM for new directives that are going to be added via ng-bind-html? BTW, I'm testing now and the directive is just logging to console, nothing else.
I used ng-include + a file on another version of the website (instead on ng-bind-html) and that worked.
Thanks on advance :)