transcluder
Another Angular directive to help with multiple transclusion within a single directive.
Usage
You can install this plugin with either Bower or NPM.
Bower
bower install transcluder --save-dev
NPM
npm install transcluder --save-dev
Then just include the transcluder module in your Angular application like so:
angular;
Overview
The transcluder directive enables more powerful and better organized directive templates.
Consider the following 'foobar' directive template and its use of the transcluder:
Assume that another component were to use the 'foobar' directive as follows:
Foobar Lorem ipsum.
The transcluder would automatically convert the above into the following:
Foobar Lorem ipsum.
Please note the parent directive must specific transclude:true flag or this directive will error. For the above example, that means the 'foobar' directive might look like this:
angular;