Skip to content

Instantly share code, notes, and snippets.

@ischenkodv
Created December 2, 2015 21:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ischenkodv/a60c0c7d2e88e7d111ce to your computer and use it in GitHub Desktop.
Save ischenkodv/a60c0c7d2e88e7d111ce to your computer and use it in GitHub Desktop.
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.
}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment