Make tabs responsive

This commit is contained in:
Joseph Schorr 2015-04-17 14:24:59 -04:00
parent e381d8cc81
commit a904cdbcbf
4 changed files with 109 additions and 6 deletions

View file

@ -244,6 +244,13 @@ angular.module("core-ui", [])
restrict: 'C',
scope: {},
controller: function($rootScope, $scope, $element) {
$scope.isClosed = true;
$scope.toggleClosed = function(e) {
$scope.isClosed = !$scope.isClosed;
e.stopPropagation();
e.preventDefault();
};
}
};
return directiveDefinitionObject;