An example project with dsimard/grunt-angular-phonegap
Globally install phonegap and [yeoman/generator-angular][generator-angular] :
npm install -g phonegap cordova generator-angular
-
Clone this project
git clone https://github.com/dsimard/grunt-angular-phonegap-example.git && cd grunt-angular-phonegap-example/
-
Install npm modules
npm install
-
Install bower dependencies
bower install
-
Add a mobile platform
cordova platform add android
-
Build the project
grunt phonegap:build
-
Start an emulator
grunt phonegap:emulate
-
Start on device
cordova run android