title: update the selected values manually in Angular-2 Multiselect dropdown
body: <p>I have used softsimon angular-2-multiselect-dropdown in a differen component which is loaded on a click under a nav Bar. Once the user selects the options in the dropdown , i'm extracting the selected option in a variable . Once the nav bar is closed and opened again , i want the selected options to be shown in the dropdown instead of creating the view once again . Is there a way ?</p>
  
  <p>Dropdown Code :</p>
  
  <pre><code>ngOnInit(){
      this.optionArray=this._filterComponent.getParameters();
      for(let x = 0; x &lt; this.optionArray.length ; x++ ){
          this.optionArrayObject.push({id : x , name :    this.optionArray[x]});
      }
  }
  public onChange() : void {
      console.log(this.selectedTexts);
      this.selectedOptionsArray=[];
      this.selectedoptionsString='';
      for(let y = 0; y &lt; this.selectedTexts.length; y++){
         for(let x = 0; x &lt; this.optionArrayObject.length; x++){
             if(this.optionArrayObject[x].id == this.selectedTexts[y]){
               this.selectedOptionsArray.push(this.optionArrayObject[x].name);
             }
         }
      }
      if(this.selectedTexts.length == 0){
          this.selectedoptionsString = this.selectedOptionsArray.join(',');
      }
      else{
          this.selectedoptionsString = this.selectedOptionsArray.join(',');
      }
      this.optionsString.emit(this.selectedoptionsString);
  }
  </code></pre>
  
  <p>html:</p>
  
  <pre><code>&lt;ss-multiselect-dropdown [options]="buidArrayObject" [texts]="myTexts" [settings]="mySettings" (ngModelChange)="onChange($event)" [ngModel]="selectedTexts"&gt;&lt;/ss-multiselect-dropdown&gt;
  </code></pre>
  
  <p>This is a different component which is used in menu component inside a side nav bar.</p>
  
  <p>Is there a way the selected option is still shown even after it(nav bar) is closed and opened again?</p>