I have performance issue on application start. Angular is processing "all" of DOM elements on boostrap and I ended up with 10k directives created by compileNodes (compile.js#L1352 <https://github.com/angular/angular.js/blob/291d7c467fba51a9cb89cbeee62202d51fe64b09/src/ng/compile.js#L1352> )
Most of those directives will not be created on beginning, for example - inside ng-if="false". One way to postpone DOM processing is to use ng-include like mechanism: http://plnkr.co/edit/bzpn5hQ8BlBTyq4ueT4u <http://plnkr.co/edit/rQvx8CXtmkCKR89jWn8T> But is it possible to implement "lazy-content": http://plnkr.co/edit/RodkzEcknwWhaUm0wWrL in a way that inner content will not be picked by compileNodes? -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.