node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »



A Yeoman generator for getting started with PhoneGap and AngularJS (with routing!). Takes you from zero to a barebones Angular app in seconds.


This generator assumes you have a PhoneGap project ready to go. If not, PhoneGap-CLI is a great place to start.

Projects are created using the latest version of the unstable branch from Angular's nightly builds.


Install the generator:

$ npm install -g generator-angular-phonegap-seed

Navigate to your PhoneGap project:

$ cd myAwesomeMobileApp

Initiate the generator:

$ yo angular-phonegap-seed

Directory structure:

Note: On Angular 1.2, the routing service has been removed from core. It must be included explicitly.

        - index.css
        - logo.png
        - app.js
        - controllers.js
        - index.js
        - services.js
        - angular.js
        - angular-route.js
        - main.html
        - view.html
        // app and cordova images
        // tests

Build and run your project, and you should be good to go.


  • Subgenerators
  • Choice between Angular stable or unstable
  • Tests

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.