Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. (async function() {
  2. const res = await fetch('assets/user.json');
  3. const data = await res.json();
  4.  
  5. const userConfigProvider = {
  6. provide: USER_CONFIG,
  7. useValue: data
  8. };
  9.  
  10. platformBrowserDynamic([userConfigProvider]).bootstrapModule(AppModule);
  11. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement