There are some issues:

1) the angular object is not a function (eg, `angular(“App2”, [])` is not 
workable because `angular` is not callable, simple typo)

2) the “otherController” controller is registered for the other injector

Here’s a working version: http://codepen.io/anon/pen/PwePme

> On Feb 21, 2015, at 10:57 PM, Tran Dat <[email protected]> wrote:
> 
> 
> i want use multiple application in angularJS but it not working.
> 
> plz check the codes at: http://codepen.io/tidusvn05/pen/qEoeKJ
> 
> Thank in advance!
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/angular 
> <http://groups.google.com/group/angular>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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