Hi Jeroen,
 

>
>
>    - Is my architecture following good practices? If not, what should I 
>    change?
>
> This looks good to me. If I would build this, and attractions would only 
be used by countries, I would move it into the countries folder, though.
 

>
>    - Are my module imports correct, e.g. should I import 
>    AttractionsModule in the root AppModule (When I did this it complained 
>    because CountryDetail couldn't recognise 
>    <attraction-list></attraction-list>
>
> It depends, if you need to use attractions outside countries, you should 
move it to the root, so it's available to all modules that might need it. I 
can not say why that didn't work for you, as this is pretty common to do!
 

>
>    - What will happend when I incorporate lazy loading, how will it 
>    affect my setup?
>
> Aside from a couple of changes to your routes, actually not that much. 
Just make sure you provide services that you need at the top component you 
need them from.

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