Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • 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