Closed donaldpipowitch closed 9 years ago
My gut feeling without thinking too hard about this is that implementation-wise, it's going to be more trouble than it's worth.
A feature like this will land in 1.5: https://github.com/angular/angular.js/commit/a4ada8ba9c4358273575e16778e76446ad080054 :)
Polymer/custom templates allow to select specific DOM inside templates. It looks like this:
The same would be great for
ng-transclude
. With this feature you could easily create a version ofng-include
which supports block extension/template inheritance (similar to https://github.com/wmluke/angular-blocks).Example: