I want to make an AJAX request before calling the bootstrap method in Angular 2 to bootstrap the application on page load.
Are there any hooks I can listen for to do this using Angular? I know I could wrap it in a vanilla javascript ajax request but I thought there maybe a standard way to do this with Angular 2. I need to get a configuration file from a server before I spin up the Angular 2 App.