Compile dynamic template from outside of angular I want to load dynamic HTML content via AJAX, then compile it, because it contains angular directives. <!DOCTYPE html> <html ng-app="app"> <head>