Last post Apr 18, 2016 06:47 AM by Fei Han - MSFT
Apr 15, 2016 02:27 PM|sudip_inn|LINK
1) i like to understand what is ng-transclude and what it does in angular directive. please guide me with sample code when we have to use ng-transclude option in directive. i saw few write up on the same but do not understand when to use ng-transclude option
in directive. please discuss with sample which help me to understand when to use ng-transclude options.
2) what is the usage of ngInclude in angular js. discuss what and when people use ngInclude with a easy example. thanks
Apr 18, 2016 06:47 AM|Fei Han - MSFT|LINK
what is ng-transclude
ngTransclude directive could add contents as a child element on which the ngTransclude directive is applied. For more information and sample, you could refer to the following links.
what is the usage of ngInclude in angular js
We use ng-include directive to include an external HTML content.