diff --git a/src/uiSelectController.js b/src/uiSelectController.js index 9e0968c3b..982e6f0b2 100644 --- a/src/uiSelectController.js +++ b/src/uiSelectController.js @@ -471,7 +471,7 @@ uis.controller('uiSelectCtrl', ctrl.searchInput.css('width', '10px'); $timeout(function() { //Give tags time to render correctly if (sizeWatch === null && !updateIfVisible(calculateContainerWidth())) { - sizeWatch = $scope.$watch(angular.noop, function() { + sizeWatch = $scope.$watch(function() { if (!updaterScheduled) { updaterScheduled = true; $scope.$$postDigest(function() { @@ -482,7 +482,7 @@ uis.controller('uiSelectCtrl', } }); } - }); + }, angular.noop); } }); };