angular / angular-hint

run-time hinting for AngularJS applications
362 stars 45 forks source link

Allow Ctrl instead of Controller suffix #62

Open brettstack opened 9 years ago

brettstack commented 9 years ago

"Controller" is quite lengthy. I suffix my controllers with "Ctrl" instead, and I know a lot of others do also. If I want to keep my controllerAs names the same as my controller names (except being camel cased instead of pascal cased), it would mean seeing "Controller" many, many times in my templates. I'm usually against using abbreviations in naming, but I made an exception here due to the frequency it gets repeated in my templates.