Skip to content

Comment on Classy: Cleaner class-based controllers for AngularJS

Comments

A more clever approach would be to be able to register controllers as services through a classy service.I dont like the fact that you extend angular iteself with a new method on the module object.

And then angular internals get updated and it breaks...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.