davej / angular-classy

Cleaner class-based controllers with Angular 1
http://davej.github.io/angular-classy/
813 stars 27 forks source link

Add a new interface like module.classy.controllers([xxx, ...]) to create multiple controllers #29

Closed ghost closed 10 years ago

ghost commented 10 years ago

I would like to add more controllers at one time (it's a normal case when my app grows), please add a new interface like module.classy.controllers([xxx]) and return the module it self, so that I can write code like this; module.classy.controllers([xxx, xxx]).config(xxx).run(xxx).