Arvind,

Ah, but that's something else as unloading a module! 
If an angular component gets destroyed, it does take down everything it has 
provided by itself. That is including the children of the component.
You should not have to destroy it by yourself unless you have some other 
(outside angular) code that's holding a reference.

However, currently, it is impossible to unload the code itself you loaded 
in with lazy loading. (This was your question after all?)

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to