Mobile Angular UI is a great project, combining Cordova and Angular in a hands-on Boilerplate.
Quick notes for an install from scratch (Ubuntu):
Prerequisites
- node and npm already installed
- Install Cordova
$ sudo npm install -g cordova.
$ cordova -v
6.0.0
- Install mobile-angular-ui & Yeoman
$ sudo npm install -g bower yo gulp generator-mobileangularui
- Create Cordova project
$ cordova create <app-name>
Alternatively use extended command:
# $ cordova create <app-folder> <app-domain-id> <app-display-title>
- Setup Cordova platform support for your App
$ cd <app-folder>
$ cordova platform
Installed platforms:
Available platforms: amazon-fireos, android, blackberry10, browser, firefoxos, ubuntu, webos
$ cordova platform add android
$ cordova platform add browser
- Install platform emulators
android
: Android SDK ยป Ubuntu: HowTo, Which Android version: - Android version usage statsios
: They are so special! You need a Mac. Thus it makes little sense to install the ios platform support in Cordova at allubuntu
: Ubuntu phone SDKfirefoxos
: Firefox OS Simulator
- Merge Mobile Angular UI project boilerplate
cd <app-folder>
yo mobileangularui
- First build
gulp build
- Run
Cross fingers (You have to install some missing dependencies.)
$cordova run <platform>