Do you use multiple ngModules in your Ionic 2 app?


#1
@NgModule({
  providers: myProvidersArray
})
class MyModule {}

Is anybody using multiple ngModules in Ionic2 app? Or just the one as given to us by Ionic Docs and Sample Project.


#2

I am using multiple modules.


#3

Quite interesting. Care to share header of ur Charts module or explain why you are doing it?


#4

@nottinhill I did not get you. Where else I should inject the module? By the way I am using ng2-charts which is a third party and hence this i sthe right way to inject the third party module. Isn’t it?


#5

I am using multiple modules, and I am following the Angular 2 documentation guidelines. Very interesting read by the way. As a complement (which is also mentioned in the link) I read the related FAQs.