Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmackerman/9623796 to your computer and use it in GitHub Desktop.
Save dmackerman/9623796 to your computer and use it in GitHub Desktop.
myApp.controller('MyWidgetControl', function($scope, $controller) {
$controller('AbstractWidgetControl', {$scope: $scope});
//"Public" functions
$scope.myFunction = function() {
//...
};
//Private functions
function myPrivateFn() {
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment