angular-class

An angular service for creating classes
Homepage:
1 person uses it

angular-class

An Angular service for creating classes with inheritance. Exposes the Class service.

API

Class

The Class service.

Class.extend(classDefenition)

Defines a new Class.

classDefenition.init

The contructor method

classDefinition.*

Other class methods

Inside any class method

this

The instance.

this._super

The current method on the first ancestor which has this method.

this.*

Any class method or property.

Installation

  1. bower install angular-class --save
  2. Include reference to angular-class.min.js
  3. Add the Class module as dependency.

Running the tests

  1. Get the source code.
  2. npm install
  3. bower install
  4. gulp test

Credits

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