257 Views
In this post I’ll continue the series on building custom directives and discuss “transclusion” and how it can be used to add flexibility to directives. Directives can be defined in HTML as elements, as an attribute of an element, as a CSS class, or as a comment. How do you restrict how your custom directive can be used though?
0 comments