Is there a way how to use $compile from pure javascript? I\'m combinating basic javascript and places where I\'m using Angular and can\'t find a way how to do something like
Alternative way from this post: AngularJS + JQuery : How to get dynamic content working in angularjs
angular.element(document).injector().invoke(function ($compile) { var container = $('#some-dom-element'); var scope = angular.element(container).scope(); $compile(container)(scope); });