title: Why it is important to import OnInit
body: <p>Without importing OnInit and implements </p>
  
  <pre><code>ngOnInit(){
    this.recipies=this.recipeService.getRecipies();
  } 
  </code></pre>
  
  <p>This is still working fine without  any complain so why should i use 
  like :</p>
  
  <pre><code>import { Component,EventEmitter,Output , OnInit } from '@angular/core';
  
  export class RecipiesListComponent implements OnInit{}
  </code></pre>