Angularjs - add ng-* attributes using directives
问题 I'm trying to add simple ng-mouseover bindings to elements managed by directives. But colud not get it working. @ http://jsbin.com/aqibij/2/edit I've tried to recompile the element after adding ng-mouseover binding. directive.compile and outer controller runs, but directive.linker does not run. @ http://jsbin.com/ikebed/1/edit I've moved the $compile'ing into linker. It runs fine, ng-mouseover runs fine, but recompiling in linker causes endless loop, which crashes the browser at the end :)