Preload data before app init in Angular

added by DotNetKicks
10/17/2017 12:40:44 PM

1 Kicks, 601 Views

Sometimes you need to load data from an API before your Angular application can be initialized. I recently had such problem - in this case I had to get settings from the backend server. You may load the data in main component, but then it's hard to make it available for all other components.


0 comments