SlideShare a Scribd company logo
Tuesday, November 12, 2014
Author: Hector Iribarne @hectoriribarne
Introduction to Mobile Apps with the
Ionic Framework & AngularJS
@hectoriribarne
Main Topics
Ionic Basics
AngularJS and Cordova
Ionic Code Time!
@hectoriribarne
Ionic Basics
@hectoriribarne
What Ionic?
@hectoriribarne
Tell me more about Ionic
Ionic is an AngularJS-based framework
Ionic lets you create mobile apps using JavaScript
Ionic provides a CLI to create, build, test and deploy your apps
@hectoriribarne
Ionic - Building Blocks
@hectoriribarne
AngularJS &
Cordova
@hectoriribarne
Detour: Let’s talk about AngularJS
@hectoriribarne
HTML5 tags
<audio>
<video>
<article>
<section>
<details>
<progress>
<meter>
@hectoriribarne
HTML5 tags - Wouldn’t it be nice to have you own tags?
<myCustomTag>
<AdamTag>
<BocaJSTag>
<HectorTag>
@hectoriribarne
Angular JS - Directives
A directive is simply a function that we run on the DOM element
to give it more functionality
Directives give us the power to create our own HTML elements
Angular uses directives everywhere. ng-tags are Angular
provided directives
@hectoriribarne
Angular JS - Scopes
AngularJS uses scopes to communicate between components
Scopes are the glue between our code and what the browser
renders
When we assign a variable on a $scope, Angular makes the
variable accessible to our view automatically
@hectoriribarne
Angular JS - Dependency Injection
Dependency injection (DI) is a term for how code gets
referenced to its dependencies.
DI refers the process of us telling Angular what dependencies
we need to use and Angular resolving dependencies when we
need them.
The Angular injector subsystem is in charge of creating
components, resolving their dependencies, and providing them
to other components as requested.
@hectoriribarne
Apache Cordova
Apache Cordova is a set of device APIs that allow a mobile app
developer to access native device function such as the camera or
accelerometer from JavaScript.
Before Adobe
purchased PhoneGap
PhoneGap
After Adobe
purchased PhoneGap
Apache Cordova
Adobe PhoneGap
@hectoriribarne
Ionic Code Time!
@hectoriribarne
Install Ionic
Install npm (Node Packet Manager): https://github.
com/npm/npm or http://nodejs.org/
@hectoriribarne
Setup Ionic on
Windows
npm install -g ionic
npm install -g cordova
Setup Ionic on
Mac/Linux
sudo npm install -g ionic
sudo npm install -g cordova
@hectoriribarne
Run Ionic
@hectoriribarne
Create an App with a blank template
@hectoriribarne
Directory Structure
@hectoriribarne
Directory Structure Details
.bower, bower.json // Ionic scripts dependencies. Loads ionic
codes & makes it easier to update Ionic w/o changing your proj)
.gitignore // Files git should ignore
config.xml // Config file for Cordova
gulpfile.js // JavaScript build tool similar to Grunt
hooks/ // Cordova folder
ionic.project // Settings for ionic
package.json // Dependencies for node packages
plugins/ // Cordova plugings
scss/ // Sass folder
www/ // root of application (Most important folder)
@hectoriribarne
Launch Ionic: ionic serve
@hectoriribarne
Ionic - Build Apps (from your project directory)
iOS (iPhone emulator example)
ionic platform add ios
ionic build ios
ionic emulate ios
Android (device example)
ionic platform add android
ionic build android
adb devices
ionic run android --device
@hectoriribarne
Ionic Demo Time!
@hectoriribarne
References
http://www.ng-newsletter.com/posts/how-to-learn-angular.html
http://thejackalofjavascript.com/ionic-angularjs-and-phonegap-build/
@hectoriribarne
AngularJS Links
https://github.com/angular/angular.js/wiki/Understanding-Directives
https://github.com/angular/angular.js/wiki/Understanding-Scopes
https://github.com/angular/angular.js/wiki/Understanding-Dependency-Injection
https://github.com/angular/angular.js/wiki/Best-Practices
@hectoriribarne
Ionic Links
Basics
http://learn.ionicframework.com/
http://learn.ionicframework.com/videos/
http://learn.ionicframework.com/talks/
http://learn.ionicframework.com/formulas/
Code
http://codepen.io/ionic/public-list/
http://stackoverflow.com/questions/tagged/ionic-framework
http://ionicframework.com/docs/api/
http://ionicframework.com/tutorials/customizing-ionic-with-sass/
Views
http://ionicframework.com/docs/api/directive/ionNavView/
http://ionicframework.com/docs/api/directive/ionView/
http://ionicframework.com/docs/api/directive/ionNavBar/
IRC: http://irc.freenode.net #ionic #angularjs #cordova
Questions?
@hectoriribarne
Last but not least
@hectoriribarne
Follow us on Twitter
https://twitter.com/BrowardDrupal

More Related Content

What's hot (20)

PPTX
Hybrid mobile and Ionic
Liju Pillai
 
PPTX
Ionic Framework - get up and running to build hybrid mobile apps
Andreas Sahle
 
PDF
Ionic Framework
Dylan Swartz
 
PPTX
IONIC - Hybrid Mobile App Development
Malan Amarasinghe
 
PDF
Intro Angular Ionic
Gianvito Siciliano
 
PPTX
Building mobile app with Ionic Framework
Huy Trần
 
PDF
Building Mobile Apps with Cordova , AngularJS and Ionic
Kadhem Soltani
 
PPTX
Introduction to Ionic framework
Shyjal Raazi
 
PDF
Creating an hybrid app in minutes with Ionic Framework
Julien Renaux
 
PDF
Ionic Framework
Cristián Cortéz
 
PDF
Creating mobile apps - an introduction to Ionic (Engage 2016)
Mark Leusink
 
PPTX
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
Ermias Bayu
 
PPT
Ionic Framework
Thinh VoXuan
 
PDF
Hybrid app development with ionic
Wan Muzaffar Wan Hashim
 
PDF
Build Consumer Apps Using Mobile SDK and Ionic Framework
Salesforce Developers
 
PDF
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 
ODP
Use Ionic Framework to develop mobile application
Lucio Grenzi
 
PDF
Ionic event: March 2021
Ionic Framework
 
PPTX
Workshop on Hybrid App Development with Ionic Framework
Aayush Shrestha
 
PDF
Ionic framework one day training
Troy Miles
 
Hybrid mobile and Ionic
Liju Pillai
 
Ionic Framework - get up and running to build hybrid mobile apps
Andreas Sahle
 
Ionic Framework
Dylan Swartz
 
IONIC - Hybrid Mobile App Development
Malan Amarasinghe
 
Intro Angular Ionic
Gianvito Siciliano
 
Building mobile app with Ionic Framework
Huy Trần
 
Building Mobile Apps with Cordova , AngularJS and Ionic
Kadhem Soltani
 
Introduction to Ionic framework
Shyjal Raazi
 
Creating an hybrid app in minutes with Ionic Framework
Julien Renaux
 
Ionic Framework
Cristián Cortéz
 
Creating mobile apps - an introduction to Ionic (Engage 2016)
Mark Leusink
 
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
Ermias Bayu
 
Ionic Framework
Thinh VoXuan
 
Hybrid app development with ionic
Wan Muzaffar Wan Hashim
 
Build Consumer Apps Using Mobile SDK and Ionic Framework
Salesforce Developers
 
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 
Use Ionic Framework to develop mobile application
Lucio Grenzi
 
Ionic event: March 2021
Ionic Framework
 
Workshop on Hybrid App Development with Ionic Framework
Aayush Shrestha
 
Ionic framework one day training
Troy Miles
 

Viewers also liked (10)

PPTX
Introdução AngularJs
GDGFoz
 
PPTX
Introduction to AngularJS Framework
Raveendra R
 
PDF
Introducción a AngularJS
Marcos Reynoso
 
ODP
Angular js up & running
Junaid Baloch
 
PDF
AngularJS - A Powerful Framework For Web Applications
Idexcel Technologies
 
PDF
Discover AngularJS
Fabien Vauchelles
 
PDF
NodeJS: the good parts? A skeptic’s view (jax jax2013)
Chris Richardson
 
PPT
Nodejs Event Driven Concurrency for Web Applications
Ganesh Iyer
 
PDF
NodeJS for Beginner
Apaichon Punopas
 
PDF
Anatomy of a Modern Node.js Application Architecture
AppDynamics
 
Introdução AngularJs
GDGFoz
 
Introduction to AngularJS Framework
Raveendra R
 
Introducción a AngularJS
Marcos Reynoso
 
Angular js up & running
Junaid Baloch
 
AngularJS - A Powerful Framework For Web Applications
Idexcel Technologies
 
Discover AngularJS
Fabien Vauchelles
 
NodeJS: the good parts? A skeptic’s view (jax jax2013)
Chris Richardson
 
Nodejs Event Driven Concurrency for Web Applications
Ganesh Iyer
 
NodeJS for Beginner
Apaichon Punopas
 
Anatomy of a Modern Node.js Application Architecture
AppDynamics
 
Ad

Similar to Intro to mobile apps with the ionic framework & angular js (20)

PDF
Building Mobile Apps With Ionic & Loopback
Chibuzor Obiora
 
PDF
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 
PDF
Ionic - Revolutionizing Hybrid Mobile Application Development
Justin James
 
PPTX
Introdução Ionic Framework - Meetup SP
Livio Alves, MBA
 
PPTX
Rapid mobile app development using Ionic framework
Swaminathan Vetri
 
PPTX
Ionic framework
Software Infrastructure
 
PDF
Ionic2 First Lesson of Four
Ahmed Mahmoud Kesha
 
PPTX
Ionic Framework
Nirav Patel
 
PPTX
Building mobile apps using meteorJS
Entrepreneur / Startup
 
PDF
Developing ionic apps for android and ios
gautham_m79
 
PPTX
Introduction to Ionic (SB AngularJS Meetup)
Sol Tran
 
PPTX
[Devoxx Morocco 2015] Apache Cordova In Action
Hazem Saleh
 
ODP
IONIC - Hybrid Mobile App Development
Swapnil Tripathi ( Looking for new challenges )
 
PPTX
Hybrid Mobile Apps - Meetup
Sanjay Patel
 
PPTX
Angularjs Tutorial for Beginners
rajkamaltibacademy
 
PPT
Whats New in Titanium 0.7
Kevin Whinnery
 
PDF
Mobile App Development with Ionic, React Native, and JHipster - Connect.Tech ...
Matt Raible
 
PDF
Ionic2 the the journey continues ng-sydney 02-03-16 and ionicaustralia 23-0...
Sameera Gayan
 
PDF
Tutorial: Develop Mobile Applications with AngularJS
Philipp Burgmer
 
Building Mobile Apps With Ionic & Loopback
Chibuzor Obiora
 
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 
Ionic - Revolutionizing Hybrid Mobile Application Development
Justin James
 
Introdução Ionic Framework - Meetup SP
Livio Alves, MBA
 
Rapid mobile app development using Ionic framework
Swaminathan Vetri
 
Ionic framework
Software Infrastructure
 
Ionic2 First Lesson of Four
Ahmed Mahmoud Kesha
 
Ionic Framework
Nirav Patel
 
Building mobile apps using meteorJS
Entrepreneur / Startup
 
Developing ionic apps for android and ios
gautham_m79
 
Introduction to Ionic (SB AngularJS Meetup)
Sol Tran
 
[Devoxx Morocco 2015] Apache Cordova In Action
Hazem Saleh
 
IONIC - Hybrid Mobile App Development
Swapnil Tripathi ( Looking for new challenges )
 
Hybrid Mobile Apps - Meetup
Sanjay Patel
 
Angularjs Tutorial for Beginners
rajkamaltibacademy
 
Whats New in Titanium 0.7
Kevin Whinnery
 
Mobile App Development with Ionic, React Native, and JHipster - Connect.Tech ...
Matt Raible
 
Ionic2 the the journey continues ng-sydney 02-03-16 and ionicaustralia 23-0...
Sameera Gayan
 
Tutorial: Develop Mobile Applications with AngularJS
Philipp Burgmer
 
Ad

More from Hector Iribarne (12)

PDF
Content migration - CSV to Drupal 8
Hector Iribarne
 
PDF
Getting started with Drupal 8
Hector Iribarne
 
PDF
Drupal Camp Atlanta 2015 - No Code Content Migration
Hector Iribarne
 
PPT
Drupalcamp South Florida 2012 - Introduction to Drupal Commerce
Hector Iribarne
 
PDF
Drupal camp South Florida 2011 - Introduction to the Aegir hosting platform
Hector Iribarne
 
PDF
Building community sites 2014
Hector Iribarne
 
PDF
Drupal 7 - No code content migration
Hector Iribarne
 
PDF
Drupal content automation with migrate 2.6
Hector Iribarne
 
PPT
Installing BOA on Ubuntu 12.04 LTS
Hector Iribarne
 
PPT
Drupal 8 - a peek under the hood
Hector Iribarne
 
PDF
DrupalCon chicago 2011 summary
Hector Iribarne
 
PPT
Drupal con sf 2010 summary
Hector Iribarne
 
Content migration - CSV to Drupal 8
Hector Iribarne
 
Getting started with Drupal 8
Hector Iribarne
 
Drupal Camp Atlanta 2015 - No Code Content Migration
Hector Iribarne
 
Drupalcamp South Florida 2012 - Introduction to Drupal Commerce
Hector Iribarne
 
Drupal camp South Florida 2011 - Introduction to the Aegir hosting platform
Hector Iribarne
 
Building community sites 2014
Hector Iribarne
 
Drupal 7 - No code content migration
Hector Iribarne
 
Drupal content automation with migrate 2.6
Hector Iribarne
 
Installing BOA on Ubuntu 12.04 LTS
Hector Iribarne
 
Drupal 8 - a peek under the hood
Hector Iribarne
 
DrupalCon chicago 2011 summary
Hector Iribarne
 
Drupal con sf 2010 summary
Hector Iribarne
 

Recently uploaded (20)

PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
Add Background Images to Charts in IBM SPSS Statistics Version 31.pdf
Version 1 Analytics
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PDF
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
Add Background Images to Charts in IBM SPSS Statistics Version 31.pdf
Version 1 Analytics
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 

Intro to mobile apps with the ionic framework & angular js