Understanding the transclude option of directive definition?
I think this is one of the hardest concept for me to understand with angularjs’s directive. The document from http://docs.angularjs.org/guide/directive says: transclude – compile the content of the element and make it available to the directive. Typically used with ngTransclude. The advantage of transclusion is that the linking function receives a transclusion function which is … Read more