angular-multi-transclude
Simple unobtrusive Angular multiple transclusion support for ng-transclude
Install
bower i --save angular-multi-transclude
Usage
Example task: Create a myPanel
directive transcluding a fragment to the header and a fragment to the body.
Use transclude-from
attribute along with ng-transclude
directive to define transclusion slots:
angular;
Use transclude-to
to wire each element to the respective ng-transclude
block:
Hi there!Lorem ipsum dolor sit amet...