0.1.0 • Published 9 years ago

@gszabo/sample-ng1-module v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 years ago

Sample angular1 module

Contains a directive, a service and a filter. Dummy implementations. Intended for testing ngUpgrade and angular2.

API

Require this module and call the exported function with an angular instance as argument.

const angular1 = require('angular');
const moduleFactory = require('@gszabo/sample-ng1-module');

moduleFactory(angular1); // now the sample module is registered as 'helloModule'