cordova setup

sudo npm install -g ionic cordova
sudo npm install -g ios-sim

Cordova.js will be generated when you build a specific platform (i.e. cordova build android)

ionic start cordovaApp tabs
cd cordovaApp

ionic platform add ios
ionic build ios
ionic emulate ios

Some quick tips:

Note: iOS development requires OS X currently. See the Android Platform Guide for full Android installation instructions:

 * Build your app: ionic build <PLATFORM>

 * Simulate your app: ionic emulate <PLATFORM>

 * Run your app on a device: ionic run <PLATFORM>

 * Package an app using Ionic package service: ionic package <MODE> <PLATFORM>

For more help use ionic –help or visit the Ionic docs:

+ New Ionic Updates for February 2015
+ The View App just landed. Preview your apps on any device
+ Add ngCordova to your project for easy device API access
+ `bower install ngCordova`
+ Generate splash screens and icons with ionic resource

$ ionic login 
$ ionic upload

Install #

bower install ngCordova --save

before cordova.js and after your AngularJS / Ionic file (since ngCordova depends on AngularJS).

<script src="lib/ngCordova/dist/ng-cordova.js"></script>
<script src="cordova.js"></script>

Now read this with Guard-Shell

I’m enjoying like anybody else. Inspired by Ruby Koans with guard shell I set it up for my practicing. Please comment at my gist for any further suggestions. In the ~/exercism/ruby directory, add two files Guardfile and... Continue →