Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

fix(buttons): make deprecated controller work with 1.3.x #4577

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/buttons/buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ angular.module('ui.bootstrap.buttons')
$log.warn('ButtonsController is now deprecated. Use UibButtonsController instead.');
}

return $controller('UibButtonsController');
angular.extend(this, $controller('UibButtonsController'));
}])

.directive('btnRadio', ['$log', '$buttonsSuppressWarning', function($log, $buttonsSuppressWarning) {
Expand Down