A skeleton project for using phonegap with angularjs,ionic and yeoman workflow The grunt build task is combined with grunt-angular-phonegap to build and deploy in device emulators
Assuming you have the following dependencies installed already.
-
NodeJs
-
git
-
Clone this project
git clone https://github.com/Ashwin2488/yeoman-angularjs-phonegap-ionic.git && cd yeoman-angularjs-phonegap-ionic/
-
Install npm modules
npm install
-
Install bower dependencies
bower install
-
Add a mobile platform
cordova platform add android|ios|wp7|wp8
see a detailed usage document from https://github.com/dsimard/grunt-angular-phonegap/blob/master/README.md
-
Build the project
grunt phonegap:build
-
Start an emulator
grunt phonegap:emulate