title: How to change label text in nativescript angular2
body: <p>I don't know how to change the label text dynamically. When I'm clicking on the second tab position, it is triggering <code>onIndexChanged(args)</code> and printing the <code>console.log("One" +"Test");</code> in command prompt. But it doesn't change the text.</p>
  
  <p><strong>first.page.html:</strong></p>
  
  <pre><code>&lt;ActionBar title="Dashboard" class="action-bar"&gt;
  
     &lt;Label [text]="'times'" textWrap="true"&gt;&lt;/Label&gt;
  
  &lt;/ActionBar&gt;
  </code></pre>
  
  <p><strong>first.page.ts:</strong></p>
  
  <pre><code>export class FirstPage {
  
  
    public times = "Ratings";
  
   ....
     public onIndexChanged(args) {
  
          let tabView = &lt;TabView&gt;args.object;
  
         if(tabView.selectedIndex == 1){
  
              console.log("One" +"Test");
  
               this.times  = "Ratings";
  
         }
  
  
      }
  
  
    }
  </code></pre>