davej / angular-classy

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

Compatibility with AngularAMD #24

Closed ghost closed 9 years ago

ghost commented 10 years ago

Has anyone ever managed to get Classy to work with AngularAMD?

When I am trying to create a Classy controller, which gets loaded by AngularAMD I get the following error:

Error: [ng:areq] Argument 'HomeCtrl' is not a function, got undefined

davej commented 10 years ago

Classy currently monkeypatches the Angular object and adds a method so it would not be straight-forward. I'll add this to the backlog for 0.5 though.

ghost commented 10 years ago

Thanks for your feedback. I reckon it would be a great addition to classy.

davej commented 9 years ago

Closing as I'm not going to be working on this for 1.0, see #38.