We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are named functions used in this pattern solely for easier debugging?
/* recommended */ angular .module('app') .controller('SomeController', SomeController); function SomeController() { }
I have been using an internal naming convention to easier isolate the controller name when fuzzy searching:
angular .module('app') .controller('SomeController', Internal); Internal.$inject = []; function Internal() { }
The text was updated successfully, but these errors were encountered:
Same naming for injector and function name also help a lot when you want to rename something.
Sorry, something went wrong.
No branches or pull requests
Are named functions used in this pattern solely for easier debugging?
I have been using an internal naming convention to easier isolate the controller name when fuzzy searching:
The text was updated successfully, but these errors were encountered: