#Angular Hint Controllers
![Code Climate](https://codeclimate.com/github/angular/angular-hint-controllers/badges/gpa.svg)
This hinting module is part of the overall tool AngularHint
that provides advice about AngularJS best practices. Loading this module will provide warnings specific
to AngularJS controllers.
See the AngularHintControllers NPM Module.
##Usage
Install the AngularHint NPM module
and use ng-hint
or ng-hint-include='controllers'
to
enable AngularHintControllers. Further installation information is available on the
main AngularHint repository.
##Features
- Warns About Use of Global Controllers
Global Controllers are Deprecated in Angular 1.3.0
Angular controllers should not be globally registered. They should be
registered on modules. For instance:
angular.module('controllerApp').controller(function(){
});
- Hints About Best Practices for Controller Naming
Angular controller names should begin with a capital letter and end with -Controller.
angular.module('SampleApp', []).controller('SampleController', function() {});
##Contributing
We'd love to get your help! See the Contributing Guidelines for AngularHint.