It appears the Batarang plugin for Chrome has just updated. A new feature Angular Hint
is added and gave me a bunch of warnings today. And there is an instruction that says:
Name controllers according to best practices (9551)
Controller names should start with an uppercase character and end with the suffix Controller. For example: UserController.
Consider renaming homeController to HomeController.
Haven't we Angular developers always use camel-cased names for JavaScript object? Anyone can tell us why Batarang prefers the pascal case instead?
And more questions:
- Where can we find the documentation for the latest "best practices"?
- If we don't want to follow this "best practice" for the existing web apps, how to turn of that type of "Hints"?