title: How can I trigger ngOnChanges only after every input values has been set in ngOnInit
body: <p>How can I trigger ngOnChanges only after every input values has been set in ngOnInit.
  My code --></p>
  
  <pre><code>`ngOnInit() {
  this.multiSelectorData.forEach(item=&gt;{
              this.allItems.push(item.data);
          });
  }
  ngOnChanges(changes: SimpleChanges) {
          if(changes['dataReady'] &amp;&amp; changes['dataReady'].currentValue) {
     console.log(this.allItems);
  }`
  </code></pre>
  
  <p>I wont get the array I initialized in ngonit in ngonchanges because ngonchanges is called before ngonit, how can i check if all are initialized before checking ngonchanges?</p>