@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.
@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.
I am using multiple modules.
Quite interesting. Care to share header of ur Charts module or explain why you are doing it?
@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?
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.