npm install -g yo - To install the Yeoman
npm install -g generator-acquisition-gateway - To install the generator
cd CAP-ACQUISITION_GATEWAY/hallways - To go to project root folder
yo acquisition-gateway - Sets the project root folder (creating the .yo-rc.json file)
yo acquisition-gateway:service name - Generates AngularJS service code
Sets the Project root
Generates an AngularJS Service and test files. This is useful when a Singleton is needed.
yo acquisition-gateway:service my-singleton
Generates an AngularJS Factory. This factory returns a Factory function to instantiate a new instance of a service. This is useful when many instances of the same service are needed.
yo acquisition-gateway:factory my-factory