title: primeng tabview angular issue setting active tab in code
body: <p>I am using Primeng Tabview in my angular application. I have the code as shown below to set the active tab using code.</p>
  
  <pre><code>&lt;button (click)="change(0)"&gt;First&lt;/button&gt;
  &lt;button (click)="change(1)"&gt;Second&lt;/button&gt;
  &lt;button (click)="change(2)"&gt;Third&lt;/button&gt;
  
  &lt;p:tabView [activeIndex]="index" ...
  
  
  public index: number;
  
  change(index: number): void {
      this.index = index;
  }
  </code></pre>
  
  <p>But as soon as I manually go to a tab and try to click on the button, it is not going to the right tab. Not sure what is wrong or how to make it work?</p>