A boilerplate template for new Phonegap projects with AngularJS. It is based on a fork of the excellent ng-boilerplate by @joshdmiller
Install Node.js and then:
$ git clone git://github.com/rowy/ng-phonegap-boilerplate
$ cd ng-boilerplate-boilerplate
$ sudo npm -g install grunt-cli karma bower cordova
$ npm install
$ bower install
$ cordova create phonegap com.example.yourPackageName YourPhonegapAppNAme
$ grunt watch
Finally, open file:///path/to/ng-boilerplate/build/index.html
in your browser.
If you don't want to have the phoegap app in the phonegap folder, you have to change compile_dir
property in the build.config.js
file.
Android
$ grunt android
iOS
$ grunt ios
BlackBerry
$ grunt blackberry
For more details see the ng-boilerplate project.