diff --git a/src/tabs/tabs.js b/src/tabs/tabs.js index 851569c32e..9c67c179f4 100644 --- a/src/tabs/tabs.js +++ b/src/tabs/tabs.js @@ -80,6 +80,7 @@ function TabsetCtrl($scope, $element) { return { restrict: 'EA', transclude: true, + replace: true, scope: {}, controller: 'TabsetController', templateUrl: 'template/tabs/tabset.html', diff --git a/src/tabs/test/tabsSpec.js b/src/tabs/test/tabsSpec.js index ddaff4f28f..7f47d7fe69 100644 --- a/src/tabs/test/tabsSpec.js +++ b/src/tabs/test/tabsSpec.js @@ -36,7 +36,7 @@ describe('tabs', function() { scope.selectSecond = jasmine.createSpy(); elm = $compile([ '