title: How to call a javascript method when user switches to dyanamically created tab in tabset?
body: <p>I'm dynamically creating tabs in my html and I'd now like a feature whereby when the user changes tab it will call a javascript function.</p>
  
  <p>My html is as follows:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;tabset id="MonthsTabset" justified="true"  style="padding-left:175px; padding-right:175px"&gt;
    &lt;tab ng-repeat="month in months"
      heading="{{month.name}}"
      active=month.active&gt;
    &lt;/tab&gt;
  &lt;/tabset&gt;
       </code></pre>
  </div>
  </div>
  </p>
  
  <p>Now within that tab I'd like something like 'onclick="functionCall()"', so that when the user changes tab a javascript method is called, however, I can't seem to find a way to do this.
  Also, I'm not using jquery.</p>
  
  <p>Thanks in advance!</p>