Hi Sanders, thanks for your reply.
If I have two module can I share data from a service ?
A module does create a new and separated instance ?
tnx


Il giorno martedì 21 agosto 2018 07:50:56 UTC+2, Sander Elias ha scritto:
>
> Hi Marc,
>
> You can easily lazy-load a module, or add things related to only that view 
> to a module. As there is little to none overhead there isn't really a 
> downside of wrapping all views in their own module.
> Version 6 introduced lazy loadable services. This makes it even easier, as 
> there is no more need to put the services in the modules anymore, just the 
> components and directives.
>
> It takes some getting used to, but it's actually a good practice. 
>
> 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