Defining Dynamic AJAX-Driven Service Providers Using APP_INITIALIZER In Angular 6.1.4

added by JavaScript Kicks
8/25/2018 6:40:24 AM

271 Views

Ben Nadel looks at using the APP_INITIALIZER multi-provider as a means to load remote configuration data using AJAX (Asynchronous JavaScript and JSON); then, use that configuration data to dynamically define Service Providers for use in Angular's dependency-injection container.


0 comments