This project contains AngularJs 1.5.x Decorators that enables you to build your AngularJs application with ES2015+ features.
The decorators have been designed to mirror Angular2+, therefore makes it compatible and easly migrated to Angular2.
The following project exposes the following APIs for usage
bootstrap : This method is used to dynamically bootstrap AngularJs app. It is a wrapper of angular.bootstrap method
NgModule: This method is a wrapper to angular.module(), it enables you to defined modules, this method can be used alongside bootstrap method.
NgModule takes the following properties as config
Component: this is a wrapper of
angular.component() method, the confuration object is the same as
angular.component with exclusion of controller and introduction of selector property.
Directive: this is wrapper of the
Pipe: this a wrapper of
Tests for this package has been written using mocha, benv and chai. To run the test,
$ npm test
Notice, this package was written for learning perposes only and has not been tested for perfomance and therefore should be further evaluated before being used for heavy production builds.