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

start with Git

Steps to start open the terminal in a local directory, say git init as like ~/projects/first_repo $ git init (before this step, install “git” on your laptop) and then, say git remote add origin repo_url with the repo URL... Continue →