SlideShare a Scribd company logo
Dariusz Kalbarczyk 
Experienced programmer, currently working in IT. 
Develops Angular based projects for large enterprises in Poland . 
Editor in chief of PIMM (www.issuu.com/independent-music-magazine) 
Arkadiusz Kalbarczyk 
Young student with a fresh view on IT, 
studying computer engineering at the 
Polish Japanese Institute of Information Technology. 
Engaged in projects regarding AngularJS technology.
 What is AngularJS? 
 Where to start? 
 The first application 
 $scope = bridge; 
 Directives 
 Communication with server 
 Most Popular Mobile Web APP Frameworks 
 IONIC 
 Mobile Angular UI 
 Why would you bother learning AngularJS afterall
 Open source JavaScript based library 
 Brief history 
 Greatest advantages 
 Society
 https://angularjs.org/ 
 https://www.youtube.com/user/angularjs 
 http://ng-poland.pl/
Index.html 
<html ng-app="app"> 
<head> 
<title>First AngularJS app</title> 
</head> 
<body ng-controller="firstCtrl"> 
<div>{{name}} {{1-0}}.{{1+2}}.{{3-3}}</div> 
<div><input data-ng-model= "name" /></div> 
<script src="angular.js"></script> 
<script src="first-ctrl.js"></script> 
</body> 
</html> 
first-ctrl.js 
var app = angular.module('app', []); 
app.controller('firstCtrl', function ($scope) { 
$scope.name = "AngularJS"; 
});
 Why do we really need $scope? 
 Importance of Inheritance 
 $scope in slightly greater detail
function FurnitureStore($scope) { 
$scope.offers = [ 
{name: ‘chair’, price: 149.99}, 
{name: ‘table’, price: 189.99 }, 
{name: ‘drawer’ price: 205.99}, 
]; 
};
 What the fudge is a directive ? 
 Are the any important? 
 Methods of implementation 
 Priorities 
 Build-in directives
<new-directive></ new-directive > 
<span new-directive ="expression"></span> 
<!-- directive: new-directive expression --> 
<span class=" new-directive : expression;"></span>
<!doctype html> 
<html ng-app="app"> 
<body> 
<div ng-controller="ExampleController"> 
{{test}} 
</div> 
<script type="text/javascript" 
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.20/angular.js"></script> 
<script> 
var app = angular.module('app', []); 
app.controller('ExampleController', function ($scope) { 
$scope.test = '123'; 
}); 
</script> 
</body> 
</html>
<!doctype html> 
<html> 
<body> 
<div ng-controller="ExampleController"> 
{{test}} 
</div> 
<script type="text/javascript" 
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.20/angular.js"></script> 
<script> 
var app = angular.module('app', []); 
app.controller('ExampleController', function ($scope) { 
$scope.test = '123'; 
}); 
angular.bootstrap(document, ['app']); 
</script> 
</body> 
</html>
Module (<html ng-app=”moduleName”>) 
Config Filter Directive Factory Controller 
Routes 
Service 
Provider 
Value
 a 
 form 
 input 
 input[checkbox] 
 input[dateTimeLocal] 
 input[date] 
 input[email] 
 input[month] 
 input[number] 
 input[radio] 
 input[text] 
 input[time] 
 input[url] 
 input[week] 
 ngApp 
 ngBind 
 ngBindHtml 
 ngBindTemplate 
 ngBlur 
 ngChange 
 ngChecked 
 ngClass 
 ngClassEven 
 ngClassOdd 
 ngClick 
 ngCloak 
 ngController 
 ngCopy 
 ngCsp 
 ngCut 
 ngDblclick 
 ngDisabled 
 ngFocus 
 ngForm 
 ngHide 
 ngHref 
 ngIf 
 ngInclude 
 ngInit 
 ngKeydown 
 ngKeypress 
 ngKeyup 
 ngList 
 ngModel 
 ngModelOptions 
 ngMousedown 
 ngMouseenter 
 ngMouseleave 
 ngMousemove 
 ngMouseover 
 ngMouseup 
 ngNonBindable 
 ngOpen 
 ngPaste 
 ngPluralize 
 ngReadonly 
 ngRepeat 
 ngSelected 
 ngShow 
 ngSrc 
 ngSrcset 
 ngStyle 
 ngSubmit 
 ngSwitch 
 ngTransclude 
 ngValue 
 script 
 select 
 textarea
<div data-ng-controller="mainCtrl"> 
<!-- main --> 
<div data-ng-controller="childOneCtrl"><!-- one --></div> 
<div data-ng-controller="childTwoCtrl"> 
<!-- two --> 
<div data-ng-controller="nextCtrl"><!-- next --></div> 
</div> 
</div> 
The ngController directive attaches a controller class to the view. This is a key 
aspect of how angular supports principles behind the Model-View-Controller 
design pattern.
<input type="text" ng-model="yourName" > 
<h1>Hello {{yourName}}!</h1> 
The ngModel directive binds an input,select, textarea (or custom form 
control) to a property on the scope.
<input type="text" data-ng-model="search" style="width: 80px" /> 
<ul> 
<li data-ng-repeat="mountain in mountainsList | filter : search"> 
{{mountain}} 
</li> 
</ul> 
The ngRepeat directive creates an instance of a template once per item from a 
collection. Each template instance gets its own scope.
 $http 
 No callback hell thanks to promises
var http = new XMLHttpRequest(); 
var params = „name=Jan&surname=Kowalski’; 
http.open(„GET”, ‘data.json’, true); 
http.onreadystatechange = function() { 
if(http.readystate == 4 && http.status == 200) { 
var response = http.responseText; 
} 
else if (http.status = 400) { 
//error handling 
} 
} 
http.send(params);
 POST $http.post(url, data, config) 
 PUT $http.put(url, data, config) 
 DELETE $http.delete(url, config) 
 HEAD $http.head(url, config) 
 JSONP $http.jsonp(url)
 Sencha Touch 
 jQuery Mobile + Backbone 
 Kendo UI 
 Angular JS + Ionic 
 React
Mobile Angular UI is a mobile UI framework 
just like Sencha Touch or jQuery Mobile. If 
you know Angular JS and Twitter Bootstrap 
you already know it! [ http://mobileangularui.com/ ] 
Angular JS Everywhere 
No jQuery dependencies, no fat bootstrap 
js. Just a few angular.js directives super 
easy to learn to put things together.
Build HTML5 Mobile Apps with Bootstrap and Angular JS
 Easy to learn 
 Supports MV* 
 Rapidly growing community 
 Google’s child
d.kalbarczyk@orange.pl, akalbarczyk@hotmail.com 
ng-poland.pl 
www.facebook.com/AngularJS.A.New.Hope

More Related Content

What's hot

Angular js PPT
Angular js PPTAngular js PPT
Angular js PPT
Imtiyaz Ahmad Khan
 
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Nicolás Bouhid
 
AngularJS Best Practices
AngularJS Best PracticesAngularJS Best Practices
AngularJS Best Practices
Narek Mamikonyan
 
Understanding angular js
Understanding angular jsUnderstanding angular js
Understanding angular js
Aayush Shrestha
 
Building an End-to-End AngularJS Application
Building an End-to-End AngularJS ApplicationBuilding an End-to-End AngularJS Application
Building an End-to-End AngularJS Application
Dan Wahlin
 
Mini-Training: AngularJS
Mini-Training: AngularJSMini-Training: AngularJS
Mini-Training: AngularJS
Betclic Everest Group Tech Team
 
Dynamic Application Development by NodeJS ,AngularJS with OrientDB
Dynamic Application Development by NodeJS ,AngularJS with OrientDBDynamic Application Development by NodeJS ,AngularJS with OrientDB
Dynamic Application Development by NodeJS ,AngularJS with OrientDB
Apaichon Punopas
 
Practical AngularJS
Practical AngularJSPractical AngularJS
Practical AngularJS
Wei Ru
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
Jussi Pohjolainen
 
AngularJS Basic Training
AngularJS Basic TrainingAngularJS Basic Training
AngularJS Basic Training
Cornel Stefanache
 
jQuery and AJAX with Rails
jQuery and AJAX with RailsjQuery and AJAX with Rails
jQuery and AJAX with Rails
Alan Hecht
 
Angular JS - Introduction
Angular JS - IntroductionAngular JS - Introduction
Angular JS - Introduction
Sagar Acharya
 
Angular Js Get Started - Complete Course
Angular Js Get Started - Complete CourseAngular Js Get Started - Complete Course
Angular Js Get Started - Complete Course
EPAM Systems
 
jQuery and Rails: Best Friends Forever
jQuery and Rails: Best Friends ForeverjQuery and Rails: Best Friends Forever
jQuery and Rails: Best Friends Forever
stephskardal
 
AngularJS: an introduction
AngularJS: an introductionAngularJS: an introduction
AngularJS: an introduction
Luigi De Russis
 
Angular js
Angular jsAngular js
Angular js
ParmarAnisha
 
Angular js
Angular jsAngular js
Angular js
Dinusha Nandika
 
Getting Started with Angular JS
Getting Started with Angular JSGetting Started with Angular JS
Getting Started with Angular JS
Akshay Mathur
 
Course CodeSchool - Shaping up with Angular.js
Course CodeSchool - Shaping up with Angular.jsCourse CodeSchool - Shaping up with Angular.js
Course CodeSchool - Shaping up with Angular.js
Vinícius de Moraes
 

What's hot (20)

Angular js PPT
Angular js PPTAngular js PPT
Angular js PPT
 
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
 
AngularJS Best Practices
AngularJS Best PracticesAngularJS Best Practices
AngularJS Best Practices
 
Understanding angular js
Understanding angular jsUnderstanding angular js
Understanding angular js
 
Building an End-to-End AngularJS Application
Building an End-to-End AngularJS ApplicationBuilding an End-to-End AngularJS Application
Building an End-to-End AngularJS Application
 
Angular js
Angular jsAngular js
Angular js
 
Mini-Training: AngularJS
Mini-Training: AngularJSMini-Training: AngularJS
Mini-Training: AngularJS
 
Dynamic Application Development by NodeJS ,AngularJS with OrientDB
Dynamic Application Development by NodeJS ,AngularJS with OrientDBDynamic Application Development by NodeJS ,AngularJS with OrientDB
Dynamic Application Development by NodeJS ,AngularJS with OrientDB
 
Practical AngularJS
Practical AngularJSPractical AngularJS
Practical AngularJS
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
AngularJS Basic Training
AngularJS Basic TrainingAngularJS Basic Training
AngularJS Basic Training
 
jQuery and AJAX with Rails
jQuery and AJAX with RailsjQuery and AJAX with Rails
jQuery and AJAX with Rails
 
Angular JS - Introduction
Angular JS - IntroductionAngular JS - Introduction
Angular JS - Introduction
 
Angular Js Get Started - Complete Course
Angular Js Get Started - Complete CourseAngular Js Get Started - Complete Course
Angular Js Get Started - Complete Course
 
jQuery and Rails: Best Friends Forever
jQuery and Rails: Best Friends ForeverjQuery and Rails: Best Friends Forever
jQuery and Rails: Best Friends Forever
 
AngularJS: an introduction
AngularJS: an introductionAngularJS: an introduction
AngularJS: an introduction
 
Angular js
Angular jsAngular js
Angular js
 
Angular js
Angular jsAngular js
Angular js
 
Getting Started with Angular JS
Getting Started with Angular JSGetting Started with Angular JS
Getting Started with Angular JS
 
Course CodeSchool - Shaping up with Angular.js
Course CodeSchool - Shaping up with Angular.jsCourse CodeSchool - Shaping up with Angular.js
Course CodeSchool - Shaping up with Angular.js
 

Viewers also liked

E-pasta datubāzes ievākšana (Mailigen Workshop 2012)
E-pasta datubāzes ievākšana (Mailigen Workshop 2012)E-pasta datubāzes ievākšana (Mailigen Workshop 2012)
E-pasta datubāzes ievākšana (Mailigen Workshop 2012)iMedia
 
E-pasta kampaņu datu analīzes pamati (Mailigen Workshop 2012)
E-pasta kampaņu datu analīzes pamati (Mailigen Workshop 2012)E-pasta kampaņu datu analīzes pamati (Mailigen Workshop 2012)
E-pasta kampaņu datu analīzes pamati (Mailigen Workshop 2012)iMedia
 
E-pasta kampaņu dizainu piemēri (Mailigen Workshop 2012)
E-pasta kampaņu dizainu piemēri (Mailigen Workshop 2012) E-pasta kampaņu dizainu piemēri (Mailigen Workshop 2012)
E-pasta kampaņu dizainu piemēri (Mailigen Workshop 2012)
iMedia
 
E-pastu piegāde (Mailigen Workshop 2012)
E-pastu piegāde (Mailigen Workshop 2012) E-pastu piegāde (Mailigen Workshop 2012)
E-pastu piegāde (Mailigen Workshop 2012)
iMedia
 
Mailigen API un integrācijas iespējas (Mailigen Workshop 2012)
Mailigen API un integrācijas iespējas (Mailigen Workshop 2012) Mailigen API un integrācijas iespējas (Mailigen Workshop 2012)
Mailigen API un integrācijas iespējas (Mailigen Workshop 2012)
iMedia
 
Segmentēšana (Mailigen Workshop 2012)
Segmentēšana (Mailigen Workshop 2012) Segmentēšana (Mailigen Workshop 2012)
Segmentēšana (Mailigen Workshop 2012) iMedia
 
Kennicott higher education evening 13 june 2012
Kennicott higher education evening 13 june 2012Kennicott higher education evening 13 june 2012
Kennicott higher education evening 13 june 2012
keviccweb
 
Mailigen apskats
Mailigen apskatsMailigen apskats
Mailigen apskatsiMedia
 

Viewers also liked (8)

E-pasta datubāzes ievākšana (Mailigen Workshop 2012)
E-pasta datubāzes ievākšana (Mailigen Workshop 2012)E-pasta datubāzes ievākšana (Mailigen Workshop 2012)
E-pasta datubāzes ievākšana (Mailigen Workshop 2012)
 
E-pasta kampaņu datu analīzes pamati (Mailigen Workshop 2012)
E-pasta kampaņu datu analīzes pamati (Mailigen Workshop 2012)E-pasta kampaņu datu analīzes pamati (Mailigen Workshop 2012)
E-pasta kampaņu datu analīzes pamati (Mailigen Workshop 2012)
 
E-pasta kampaņu dizainu piemēri (Mailigen Workshop 2012)
E-pasta kampaņu dizainu piemēri (Mailigen Workshop 2012) E-pasta kampaņu dizainu piemēri (Mailigen Workshop 2012)
E-pasta kampaņu dizainu piemēri (Mailigen Workshop 2012)
 
E-pastu piegāde (Mailigen Workshop 2012)
E-pastu piegāde (Mailigen Workshop 2012) E-pastu piegāde (Mailigen Workshop 2012)
E-pastu piegāde (Mailigen Workshop 2012)
 
Mailigen API un integrācijas iespējas (Mailigen Workshop 2012)
Mailigen API un integrācijas iespējas (Mailigen Workshop 2012) Mailigen API un integrācijas iespējas (Mailigen Workshop 2012)
Mailigen API un integrācijas iespējas (Mailigen Workshop 2012)
 
Segmentēšana (Mailigen Workshop 2012)
Segmentēšana (Mailigen Workshop 2012) Segmentēšana (Mailigen Workshop 2012)
Segmentēšana (Mailigen Workshop 2012)
 
Kennicott higher education evening 13 june 2012
Kennicott higher education evening 13 june 2012Kennicott higher education evening 13 june 2012
Kennicott higher education evening 13 june 2012
 
Mailigen apskats
Mailigen apskatsMailigen apskats
Mailigen apskats
 

Similar to AngularJS Mobile Warsaw 20-10-2014

AngularJs Superheroic JavaScript MVW Framework Services by Miracle Studios
AngularJs Superheroic JavaScript MVW Framework Services by Miracle StudiosAngularJs Superheroic JavaScript MVW Framework Services by Miracle Studios
AngularJs Superheroic JavaScript MVW Framework Services by Miracle Studios
Learnimtactics
 
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
Igor Bronovskyy
 
Angular JS deep dive
Angular JS deep diveAngular JS deep dive
Angular JS deep dive
Axilis
 
Basics of AngularJS
Basics of AngularJSBasics of AngularJS
Basics of AngularJS
Filip Janevski
 
AngularJs
AngularJsAngularJs
AngularJs
syam kumar kk
 
Different way to share data between controllers in angular js
Different way to share data between controllers in angular jsDifferent way to share data between controllers in angular js
Different way to share data between controllers in angular js
codeandyou forums
 
Sharing Data between controllers in different ways.
Sharing Data between controllers in different ways.Sharing Data between controllers in different ways.
Sharing Data between controllers in different ways.
Amar Shukla
 
intro to Angular js
intro to Angular jsintro to Angular js
intro to Angular js
Brian Atkins
 
Angular Js Basics
Angular Js BasicsAngular Js Basics
Angular Js Basics
أحمد عبد الوهاب
 
Dive into AngularJS and directives
Dive into AngularJS and directivesDive into AngularJS and directives
Dive into AngularJS and directives
Tricode (part of Dept)
 
Angular js
Angular jsAngular js
Angular js
Eueung Mulyana
 
243329387 angular-docs
243329387 angular-docs243329387 angular-docs
243329387 angular-docs
Abhi166803
 
Controller in AngularJS
Controller in AngularJSController in AngularJS
Controller in AngularJS
Brajesh Yadav
 
Custom directive and scopes
Custom directive and scopesCustom directive and scopes
Custom directive and scopes
jagriti srivastava
 
AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014
Ran Wahle
 
API Technical Writing
API Technical WritingAPI Technical Writing
API Technical Writing
Sarah Maddox
 
Angular js - 4developers 12 kwietnia 2013
Angular js - 4developers 12 kwietnia 2013Angular js - 4developers 12 kwietnia 2013
Angular js - 4developers 12 kwietnia 2013
Marcin Wosinek
 
The Basics Angular JS
The Basics Angular JS The Basics Angular JS
The Basics Angular JS
OrisysIndia
 
Workshop 12: AngularJS Parte I
Workshop 12: AngularJS Parte IWorkshop 12: AngularJS Parte I
Workshop 12: AngularJS Parte I
Visual Engineering
 

Similar to AngularJS Mobile Warsaw 20-10-2014 (20)

AngularJs Superheroic JavaScript MVW Framework Services by Miracle Studios
AngularJs Superheroic JavaScript MVW Framework Services by Miracle StudiosAngularJs Superheroic JavaScript MVW Framework Services by Miracle Studios
AngularJs Superheroic JavaScript MVW Framework Services by Miracle Studios
 
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
 
Angular JS deep dive
Angular JS deep diveAngular JS deep dive
Angular JS deep dive
 
Basics of AngularJS
Basics of AngularJSBasics of AngularJS
Basics of AngularJS
 
AngularJs
AngularJsAngularJs
AngularJs
 
Different way to share data between controllers in angular js
Different way to share data between controllers in angular jsDifferent way to share data between controllers in angular js
Different way to share data between controllers in angular js
 
Sharing Data between controllers in different ways.
Sharing Data between controllers in different ways.Sharing Data between controllers in different ways.
Sharing Data between controllers in different ways.
 
intro to Angular js
intro to Angular jsintro to Angular js
intro to Angular js
 
Angular Js Basics
Angular Js BasicsAngular Js Basics
Angular Js Basics
 
Dive into AngularJS and directives
Dive into AngularJS and directivesDive into AngularJS and directives
Dive into AngularJS and directives
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Angular js
Angular jsAngular js
Angular js
 
243329387 angular-docs
243329387 angular-docs243329387 angular-docs
243329387 angular-docs
 
Controller in AngularJS
Controller in AngularJSController in AngularJS
Controller in AngularJS
 
Custom directive and scopes
Custom directive and scopesCustom directive and scopes
Custom directive and scopes
 
AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014
 
API Technical Writing
API Technical WritingAPI Technical Writing
API Technical Writing
 
Angular js - 4developers 12 kwietnia 2013
Angular js - 4developers 12 kwietnia 2013Angular js - 4developers 12 kwietnia 2013
Angular js - 4developers 12 kwietnia 2013
 
The Basics Angular JS
The Basics Angular JS The Basics Angular JS
The Basics Angular JS
 
Workshop 12: AngularJS Parte I
Workshop 12: AngularJS Parte IWorkshop 12: AngularJS Parte I
Workshop 12: AngularJS Parte I
 

Recently uploaded

Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
Sharepoint Designs
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
ayushiqss
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
Tendenci - The Open Source AMS (Association Management Software)
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
varshanayak241
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 

Recently uploaded (20)

Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 

AngularJS Mobile Warsaw 20-10-2014

  • 1.
  • 2. Dariusz Kalbarczyk Experienced programmer, currently working in IT. Develops Angular based projects for large enterprises in Poland . Editor in chief of PIMM (www.issuu.com/independent-music-magazine) Arkadiusz Kalbarczyk Young student with a fresh view on IT, studying computer engineering at the Polish Japanese Institute of Information Technology. Engaged in projects regarding AngularJS technology.
  • 3.  What is AngularJS?  Where to start?  The first application  $scope = bridge;  Directives  Communication with server  Most Popular Mobile Web APP Frameworks  IONIC  Mobile Angular UI  Why would you bother learning AngularJS afterall
  • 4.  Open source JavaScript based library  Brief history  Greatest advantages  Society
  • 5.  https://angularjs.org/  https://www.youtube.com/user/angularjs  http://ng-poland.pl/
  • 6. Index.html <html ng-app="app"> <head> <title>First AngularJS app</title> </head> <body ng-controller="firstCtrl"> <div>{{name}} {{1-0}}.{{1+2}}.{{3-3}}</div> <div><input data-ng-model= "name" /></div> <script src="angular.js"></script> <script src="first-ctrl.js"></script> </body> </html> first-ctrl.js var app = angular.module('app', []); app.controller('firstCtrl', function ($scope) { $scope.name = "AngularJS"; });
  • 7.  Why do we really need $scope?  Importance of Inheritance  $scope in slightly greater detail
  • 8. function FurnitureStore($scope) { $scope.offers = [ {name: ‘chair’, price: 149.99}, {name: ‘table’, price: 189.99 }, {name: ‘drawer’ price: 205.99}, ]; };
  • 9.  What the fudge is a directive ?  Are the any important?  Methods of implementation  Priorities  Build-in directives
  • 10. <new-directive></ new-directive > <span new-directive ="expression"></span> <!-- directive: new-directive expression --> <span class=" new-directive : expression;"></span>
  • 11. <!doctype html> <html ng-app="app"> <body> <div ng-controller="ExampleController"> {{test}} </div> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.20/angular.js"></script> <script> var app = angular.module('app', []); app.controller('ExampleController', function ($scope) { $scope.test = '123'; }); </script> </body> </html>
  • 12. <!doctype html> <html> <body> <div ng-controller="ExampleController"> {{test}} </div> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.20/angular.js"></script> <script> var app = angular.module('app', []); app.controller('ExampleController', function ($scope) { $scope.test = '123'; }); angular.bootstrap(document, ['app']); </script> </body> </html>
  • 13. Module (<html ng-app=”moduleName”>) Config Filter Directive Factory Controller Routes Service Provider Value
  • 14.  a  form  input  input[checkbox]  input[dateTimeLocal]  input[date]  input[email]  input[month]  input[number]  input[radio]  input[text]  input[time]  input[url]  input[week]  ngApp  ngBind  ngBindHtml  ngBindTemplate  ngBlur  ngChange  ngChecked  ngClass  ngClassEven  ngClassOdd  ngClick  ngCloak  ngController  ngCopy  ngCsp  ngCut  ngDblclick  ngDisabled  ngFocus  ngForm  ngHide  ngHref  ngIf  ngInclude  ngInit  ngKeydown  ngKeypress  ngKeyup  ngList  ngModel  ngModelOptions  ngMousedown  ngMouseenter  ngMouseleave  ngMousemove  ngMouseover  ngMouseup  ngNonBindable  ngOpen  ngPaste  ngPluralize  ngReadonly  ngRepeat  ngSelected  ngShow  ngSrc  ngSrcset  ngStyle  ngSubmit  ngSwitch  ngTransclude  ngValue  script  select  textarea
  • 15. <div data-ng-controller="mainCtrl"> <!-- main --> <div data-ng-controller="childOneCtrl"><!-- one --></div> <div data-ng-controller="childTwoCtrl"> <!-- two --> <div data-ng-controller="nextCtrl"><!-- next --></div> </div> </div> The ngController directive attaches a controller class to the view. This is a key aspect of how angular supports principles behind the Model-View-Controller design pattern.
  • 16. <input type="text" ng-model="yourName" > <h1>Hello {{yourName}}!</h1> The ngModel directive binds an input,select, textarea (or custom form control) to a property on the scope.
  • 17. <input type="text" data-ng-model="search" style="width: 80px" /> <ul> <li data-ng-repeat="mountain in mountainsList | filter : search"> {{mountain}} </li> </ul> The ngRepeat directive creates an instance of a template once per item from a collection. Each template instance gets its own scope.
  • 18.  $http  No callback hell thanks to promises
  • 19. var http = new XMLHttpRequest(); var params = „name=Jan&surname=Kowalski’; http.open(„GET”, ‘data.json’, true); http.onreadystatechange = function() { if(http.readystate == 4 && http.status == 200) { var response = http.responseText; } else if (http.status = 400) { //error handling } } http.send(params);
  • 20.
  • 21.  POST $http.post(url, data, config)  PUT $http.put(url, data, config)  DELETE $http.delete(url, config)  HEAD $http.head(url, config)  JSONP $http.jsonp(url)
  • 22.  Sencha Touch  jQuery Mobile + Backbone  Kendo UI  Angular JS + Ionic  React
  • 23.
  • 24.
  • 25. Mobile Angular UI is a mobile UI framework just like Sencha Touch or jQuery Mobile. If you know Angular JS and Twitter Bootstrap you already know it! [ http://mobileangularui.com/ ] Angular JS Everywhere No jQuery dependencies, no fat bootstrap js. Just a few angular.js directives super easy to learn to put things together.
  • 26.
  • 27. Build HTML5 Mobile Apps with Bootstrap and Angular JS
  • 28.  Easy to learn  Supports MV*  Rapidly growing community  Google’s child
  • 29. d.kalbarczyk@orange.pl, akalbarczyk@hotmail.com ng-poland.pl www.facebook.com/AngularJS.A.New.Hope