title: Ionic 3 Component vs Page
body: <p>Can you tell me what is the difference between <code>Component</code> and <code>Page</code> generator in the <code>Ionic 3</code> app? It seems I can use page life cycle hooks like <code>ionViewWillLeave</code> inside the component too.So when should I use angular life cycle hooks then? If it is same then Why it has 2 generators? Hope you'll provide a feedback for this. </p>
  
  <p><em>Component generator:</em></p>
  
  <pre><code> ionic generate component SubscribeTopicComponent
  </code></pre>
  
  <p><em>Page generator:</em></p>
  
  <pre><code>ionic generate page LoginPage
  </code></pre>