javascript - Angularjs tab pane change event -


i using bootstrap tab pane using angular.

i want find tab clicked.

here plunker link of example.click here.

this code

angular.module('plunker', ['ui.bootstrap']);  var tabsdemoctrl = function ($scope) {       };
<!doctype html>  <html ng-app="plunker">    <head>      <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.js"></script>      <script src="http://angular-ui.github.com/bootstrap/ui-bootstrap-tpls-0.2.0.js"></script>             <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet">    </head>    <body>    <div ng-controller="tabsdemoctrl">      <tabs>              <pane heading="information">information tab</pane>              <pane heading="activity">activity tab</pane>              <pane heading="history">history tab</pane>      </tabs>      <hr>   </div>    </body>  </html>

note: code not working in snippet.

i want find click event of tabs, without using ng-clickevent because there click event ng-click="select(pane)".

enter image description here


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -