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

enjin

0.0.9 • Public • Published

Enjin (In Development not 100% stable)

A quick cli angular module generator.

use the following command to generate a basic angularjs scaffolding.

enjin [appName] [moduleName]

This will generate angular modules using the appName and moduleName

enjin SampleApp Issues

will generate files in the following fashion

angular.module('SampleApp.Issues', []) ;
angular.module('SampleApp.Issues.resources', []) ;
angular.module('SampleApp.Issues.controllers.IssuesListController', [])
    .controller("IssuesListController", ['$scope', 'Issues', function($scope, Issues) {
    }]);
angular.module('SampleApp.Issues.controllers.IssuesListController', [])
    .controller("IssuesEditController", ['$scope', 'issue', function($scope, issue) {
    }]);

install

npm i enjin

Downloadsweekly downloads

1

version

0.0.9

license

none

repository

githubgithub

last publish

collaborators

  • avatar