If you are using Angular2 --> read about injectables (it is something like services in Angular 1).
They are an easy way to provide functions and properties to all components
If you are using Angular2 --> read about injectables (it is something like services in Angular 1).
They are an easy way to provide functions and properties to all components