I have Core, Shared and lazy loading Future modules. For import daterangepicker directive to Future modules I export daterangepicker in Shared module and then import Shared module in Future.
But for each Future module I have instanse of DateRangepickerConfig and I need global configure daterangepicker in each module.
I want configure daterangepicker global one time in my Core module. Core module is place for all singleton services.
For that I suppose to need call a forRoot method (forRoot() and forChild()
) in Core module (imports section) and export daterangepicker in Shared module as before.
I have Core, Shared and lazy loading Future modules. For import daterangepicker directive to Future modules I export daterangepicker in Shared module and then import Shared module in Future. But for each Future module I have instanse of DateRangepickerConfig and I need global configure daterangepicker in each module. I want configure daterangepicker global one time in my Core module. Core module is place for all singleton services. For that I suppose to need call a forRoot method (forRoot() and forChild() ) in Core module (imports section) and export daterangepicker in Shared module as before.