Skip to content

Commit

Permalink
Merge pull request #3223 from abruzzihraig/fix_tab_selected
Browse files Browse the repository at this point in the history
fix(tab): set $scope.$tabSelected when nested tabs selected
  • Loading branch information
adamdbradley committed Mar 11, 2015
2 parents 50c3465 + ec7bf20 commit c18c69f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/angular/directive/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ function($compile, $ionicConfig, $ionicBind, $ionicViewSwitcher) {
var tabsCtrl = ctrls[0];
var tabCtrl = ctrls[1];
var isTabContentAttached = false;
$scope.$tabSelected = false;

$ionicBind($scope, $attr, {
onSelect: '&',
Expand Down

0 comments on commit c18c69f

Please sign in to comment.