title: Angular 2 load data before rendering the app
body: <p>In my main component's ngOnInit I do get some global settings :</p>
  
  <pre><code>ngOnInit() {
     this._service1.initGlobalData()
     this._service2.initGlobalData2()
  }
  </code></pre>
  
  <p>these 2 calls initialize _service1 and _service2 which are then used in several different places in my app.
  I would like to be sure these 2 calls are done before starting rendering my application.</p>
  
  <p>Is there any specific way to do it in Angular 2 ?</p>
  
  <p>The only solution that comes up to my mind would be to set a spinner up based on the promises returned by these two init calls.</p>