hi,
you cant use two module instead You can create a top level module that
will have your two modules as injected dependencies
var topmodule= angular.module('topmodule', ['firstmudule', 'secondmudule']);
and then in your html use: ng-app="topmodule"
On Wed, Apr 29, 2015 at 11:33 AM, Kiran A <[email protected]> wrote:
> hi,
>
> you cant use two module instead You can create a top level module that
> will have your two modules as injected dependencies
>
> var topmodule= angular.module('topmodule', ['firstmudule', 'secondmudule']);
>
> and then in your html use: ng-app="topmodule"
>
>
>
> On Wed, Apr 29, 2015 at 11:03 AM, Noman Yaqoob <[email protected]>
> wrote:
>
>> Hello, I want to use more than one module in my TodoList,
>>
>>
>> var app = angular.module("TodoList",["ngMaterial"]) // this is working
>>
>>
>> if I do this it works but when I add a firebase module or any other in
>> addition, my Material module doesn't load
>>
>>
>> can anyone tell me why its happening?
>>
>> --
>> 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.
>>
>
>
--
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.