What is the difference between the component architecture and multi-transclusion model in AngularJS? -


i understand component architecture is, don't understand how different multi-transclusion model. can please explain?

the difference components used encapsulate logic , define how custom html element rendered. multi-transclusion is/can part of component. tells where arbitrary text/html/... placed when component rendered.

this useful if want create component layout application. think official documentation example that: https://docs.angularjs.org/api/ng/directive/ngtransclude#multi-slot-transclusion


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -