text: /**
   * angular-strap
   * @version v2.0.0 - 2014-04-07
   * @link http://mgcrea.github.io/angular-strap
   * @author Olivier Louvignes (olivier@mg-crea.com)
   * @license MIT License, http://www.opensource.org/licenses/MIT
   */
  "use strict";angular.module("mgcrea.ngStrap.tab",[]).run(["$templateCache",function(t){t.put("$pane","{{pane.content}}")}]).provider("$tab",function(){var t=this.defaults={animation:"am-fade",template:"tab/tab.tpl.html"};this.$get=function(){return{defaults:t}}}).directive("bsTabs",["$window","$animate","$tab",function(t,a,e){var n=e.defaults;return{restrict:"EAC",scope:!0,require:"?ngModel",templateUrl:function(t,a){return a.template||n.template},link:function(t,a,e,i){var r=n;angular.forEach(["animation"],function(t){angular.isDefined(e[t])&&(r[t]=e[t])}),e.bsTabs&&t.$watch(e.bsTabs,function(a){t.panes=a},!0),a.addClass("tabs"),r.animation&&a.addClass(r.animation),t.active=t.activePane=0,t.setActive=function(a){t.active=a,i&&i.$setViewValue(a)},i&&(i.$render=function(){t.active=1*i.$modelValue})}}}]);