title: load data in the view before loading it
body: <p>I have a problem, I am working with Ionic 2 and angular 2.</p>
  
  <p>I have to show some datas in a view but I get these datas from an API in the same page so when I try to show them in the view, they are undefined yet. How can I wait to load the view after getting these datas?</p>
  
  <p>I have tried onPageWillEnter but it does not work.</p>
  
  <p>Thank you in advance.</p>