Hey Sander,

Thank you for your response.  That does make sense to me.  So would it be 
something like this?

//companies module
angular.module('companies', ['contacts']);

//contacts module
angular.module('contacts',[]);

So when I setup the html page via the 'companies' controller I should have 
access to the 'contacts' $scope ?  When I am on a specific company page 
I'll know the company id and can make a request to my api to gather just 
the contacts associated with that company and display them on the same 
page?  

Thanks again for your help!
Sean

On Tuesday, March 29, 2016 at 6:12:25 AM UTC-4, Sander Elias wrote:
>
> Hi Sean,
>
> The usual way to solve this, is load all modules you need in your app 
> (your app being another module that includes the needed modules and is 
> otherwise (as good as) empty.
> You can then access all services from all of your modules wherever you see 
> fit. 
>
> Conclusion, load all modules, and communicate between components 
> <https://docs.angularjs.org/guide/component>through services.
>
> If you still have questions, don't hesitate to ask them!
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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