diff --git a/src/components/tabs/js/tabsController.js b/src/components/tabs/js/tabsController.js index bf28e798aec..3fab998f055 100644 --- a/src/components/tabs/js/tabsController.js +++ b/src/components/tabs/js/tabsController.js @@ -136,7 +136,7 @@ id: $mdUtil.nextUid() }, tab = angular.extend(proto, tabData); - if (!angular.isString(tabData.template)) { + if (!tabData.template) { ctrl.hasContent = false; $element.addClass('md-no-tab-content'); }