node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



Base structure to reusable AngularJS components

Build Status [NPM version]

Base structure to reusable AngularJS components

Getting Started

Install slush-ngmodule globally:

$ npm install -g slush-ngmodule


Create a new folder for your project:

$ mkdir my-slush-ngmodule

Run the generator from within the new folder:

$ cd my-slush-ngmodule && slush ngmodule

Now add your dependencies and start coding. For example, you will need AngularJS and ngMock modules to start your module. These should be added to karma config file as well (inside the test folder)

Run bower install to get the necessary files.

Getting To Know Slush

Slush is a tool that uses Gulp for project scaffolding.

Slush does not contain anything "out of the box", except the ability to locate installed slush generators and to run them with liftoff.

To find out more about Slush, check out the documentation.


See the CONTRIBUTING Guidelines


If you have any problem or suggestion please open an issue here.