Hi Anthony

This may help.  From the docs 
<https://docs.angularjs.org/api/ng/directive/ngApp>:

*Only one AngularJS application can be auto-bootstrapped per HTML document. 
The first ngApp found in the document will be used to define the root 
element to auto-bootstrap as an application. To run multiple applications 
in an HTML document you must manually bootstrap them using 
angular.bootstrap instead. AngularJS applications cannot be nested within 
each other.*

-

On Tuesday, October 7, 2014 8:45:06 PM UTC+2, Anthony Ettinger wrote:
>
> I'm toying with the idea of having a base angular app, that can import 
> other angular apps.
>
> Think of it like an "app shell". The problem I have is that you can only 
> have one angular app defined per DOM.
>
> Is there a way to have multiple angular apps in one encompassing angular 
> app?
>
> Note, the idea is each individual angular app would be in its own repo and 
> would be imported at build time.
>

-- 
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to