angular-clazz

Functional Multiple Inheritance and Controller-based Events for Angular
0 people use it
Author: 1486215?v=3 joehannes

Welcome, Geek!

This package enables for use in Angular in combination with Coffeescript:

Multiple prototype-based (functional rather than via scope) Inheritance via a Mixin mechanism

  • Preserves and facilitates Angulars Dependency Injection
  • Provides private methods mechanism (via underscore-prefix) for not exposing protected/private functionality to scope
  • Behaviour Oriented Programming - bringing the control of UX back to the controller (as opposed to attributal event-diretives in the template)
  • Easy CSS Selector Mechanism via Sizzle, the selector engine jQuery uses
  • Plain Old (cross browser) jQuery-Events -> Naming conventions
  • Super easy to build a custom behaviour-library as private methods to be called/chained to the evented methods

Dependencies

  • Sizzle (if you bower install angular-clazz Sizzle should be pulled automatically, but don't forget to include it in your index.html)

Example Usage

Restrictions

Multiple Inheritance is provided via the static mixin method. If you want to give it a shot just write something like

comments powered by Disqus
This page was last updated about 3 years ago.