What’s the recommended way to extend AngularJS controllers?
Perhaps you don’t extend a controller but it is possible to extend a controller or make a single controller a mixin of multiple controllers. module.controller(‘CtrlImplAdvanced’, [‘$scope’, ‘$controller’, function ($scope, $controller) { // Initialize the super class and extend it. angular.extend(this, $controller(‘CtrlImpl’, {$scope: $scope})); … Additional extensions to create a mixin. }]); When the parent controller … Read more