SlideShare a Scribd company logo
ANGULARJS
DEEP DIVE INTO
FOR BEGINNERS
VASSILIS PITSOUNIS

FRONT END DEVELOPER @ JEXIA
IN INDUSTRY FROM 2000 - WORKED AS WEB & APPS DEVELOPER IN SEVERAL START UPS AND COS
GITHUB.COM/VAPITS
@VAPITS
AUTHOR
FOLLOW
LET’S START
var myApp = angular.module(‘myApp’,[]);
FRAMEWORK, NOT LIBRARY
THERE ARE NO READY TO CALL FUNCTIONS

HTML AS IT SHOULD BE
ANGULAR IS HERE TO GIVE PURPOSE TO THE DOM
angularjs.org
DEEP DIVE INTO ANGULARJS
WHY SHOULD I USE IT?
▸ Bootstrapping
▸ Templates
▸ 2-way data binding
▸ Module based
▸ Routing
▸ Directives
▸ Unit Test
▸ HUGE Community
DEEP DIVE INTO ANGULARJS
DOES CHUCK APPROVES?


+ SAVES YOU TIME!
+ LOT’S OF DEVS

+ JOBS OPPORTUNITIES (WE ARE HIRING!!)
+ GOOGLE WILL BE THERE
ANGULARJS VS REACTJS VS EMBERJS VS BACKBONEJS
SOURCE: GOOGLE TRENDS
DIVE #1


M.V.C
MODEL VIEW CONTROLLER
OUR ENTIRE MODEL CAN BE CONTAINED IN A 

SINGLE JAVASCRIPT OBJECT.
var name = ‘Joe’;
MODEL VIEW CONTROLLER
OUR ENTIRE MODEL CAN BE CONTAINED IN A 

SINGLE JAVASCRIPT OBJECT.
UPGRADED HTML WITH
REFERENCES TO MODEL


<label>Name:</label>

<input ng-model=“name”/>



<h2>{{name}}</h2>
<button ng-click=“saveName()”>

Save

</button>
var name = ‘Joe’;
MODEL VIEW CONTROLLER
OUR ENTIRE MODEL CAN BE CONTAINED IN A 

SINGLE JAVASCRIPT OBJECT.
var name = ‘Joe’; function myCtrl( $scope ) {

$scope.name = ‘Joe’;
$scope.saveName = function() {
alert( $scope.name );
};

}
UPGRADED HTML WITH
REFERENCES TO MODEL
JS CODE THAT POPULATES THE VIEW
AND REACTS WITH CHANGES IN IT


<label>Name:</label>

<input ng-model=“name”/>



<h2>{{name}}</h2>
<button ng-click=“saveName()”>

Save

</button>
A GRAPH ALWAYS HELPS
DIVE #2

BEST OF
YOU CAN EASILY ADD A TWO WAY BINDING

TO THE MODEL BY JUST:
DEEP DIVE INTO ANGULARJS
BEST OF
▸ Two Way Binding
▸ Templates
▸ Dependency Injections
▸ Directives
▸ Filters





TEMPLATES AS EASY AS THE HTML…
DEEP DIVE INTO ANGULARJS
BEST OF
▸ Two Way Binding
▸ Templates
▸ Dependency Injections
▸ Directives
▸ Filters
 

NGRPEAT IS AN AMAZING DIRECTIVE OF ANGULARJS. 

I BET YOU WILL LOVE IT!

DEPENDENCY INJECTIONS… PIECE OF CAKE
DEEP DIVE INTO ANGULARJS
BEST OF
▸ Two Way Binding
▸ Templates
▸ Dependency Injections
▸ Directives
▸ Filters



DIRECTIVES, HARD AT THE BEGINNING BUT A MUST!
DEEP DIVE INTO ANGULARJS
BEST OF
▸ Two Way Binding
▸ Templates
▸ Dependency Injections
▸ Directives
▸ Filters





Codefordirective
Directive in template
Browser result
DEEP DIVE INTO ANGULARJS
BEST OF
▸ Two Way Binding
▸ Templates
▸ Dependency Injections
▸ Directives
▸ Filters





DEEP DIVE

PERFORMANCE
DEEP DIVE INTO ANGULARJS
IF YOU WANT PERFORMANCE JUST DON’T
▸ Watchers (Multiple two-way binders)
▸ $scope.$watch
▸ Fat controllers
▸ jQuery
▸ Complicated functions in expressions
(templates).
DEEP DIVE INTO ANGULARJS
THREE SIMPLE RULES FOR SPEED
▸ Use one-way binding
▸ Use Service for data & http requests
▸ The more directives, the better.
DEEP DIVE INTO ANGULARJS
THREE SIMPLE RULES FOR SPEED
▸ Use one-way binding
▸ Use Service for data & http requests
▸ The more directives, the better.
DEEP DIVE INTO ANGULARJS
THREE SIMPLE RULES FOR SPEED
▸ Use one-way binding
▸ Use Service for data & http requests
▸ The more directives, the better.
DEEP DIVE INTO ANGULARJS
▸ Use one-way binding
▸ Use Service for data & http requests
▸ The more directives, the better.
WE WILL SPEAK FURTHER FOR DIRECTIVES ON A NEXT PRESENTATION.

YES THEY ARE CHALLENGING ENOUGH TO HAVE THEIR OWN PRESENTATION
THREE SIMPLE RULES FOR SPEED
IS IT EASY TO LEARN?
DEEP DIVE INTO ANGULARJS
DOCUMENTATION
▸ https://docs.angularjs.org/api
▸ angularjs.org
GITHUB.COM/VAPITS @VAPITS
FOLLOW, CONTACT &
FIND THE PRESENTATION & EXAMPLES IN MY GITHUB & LINKEDIN PAGE
NL.LINKEDIN.COM/IN/VAPITS

More Related Content

What's hot

AngularJS best-practices
AngularJS best-practicesAngularJS best-practices
AngularJS best-practices
Henry Tao
 
AngularJS 2.0
AngularJS 2.0AngularJS 2.0
AngularJS 2.0
Boyan Mihaylov
 
Angular js vs. Facebook react
Angular js vs. Facebook reactAngular js vs. Facebook react
Angular js vs. Facebook react
Keyup
 
Angular from Scratch
Angular from ScratchAngular from Scratch
Angular from Scratch
Christian Lilley
 
Angular elements - embed your angular components EVERYWHERE
Angular elements - embed your angular components EVERYWHEREAngular elements - embed your angular components EVERYWHERE
Angular elements - embed your angular components EVERYWHERE
Nadav Mary
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
Aldo Pizzagalli
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
Jussi Pohjolainen
 
Angular js
Angular jsAngular js
Angular js
ParmarAnisha
 
Angular js
Angular jsAngular js
Angular js
Knoldus Inc.
 
Angular js - 10 reasons to choose angularjs
Angular js - 10 reasons to choose angularjs Angular js - 10 reasons to choose angularjs
Angular js - 10 reasons to choose angularjs
Nir Kaufman
 
Angular js for beginners
Angular js for beginnersAngular js for beginners
Angular js for beginners
Munir Hoque
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
David Parsons
 
New Perspectives on Performance
New Perspectives on PerformanceNew Perspectives on Performance
New Perspectives on Performance
mennovanslooten
 
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Javascript Frameworks Comparison - Angular, Knockout, Ember and BackboneJavascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Deepu S Nath
 
Angularjs PPT
Angularjs PPTAngularjs PPT
Angularjs PPT
Amit Baghel
 
AngularJS
AngularJSAngularJS
Introduction of angular js
Introduction of angular jsIntroduction of angular js
Introduction of angular js
Tamer Solieman
 
Angular js PPT
Angular js PPTAngular js PPT
Angular js PPT
Imtiyaz Ahmad Khan
 
Angular Best Practices v2
Angular Best Practices v2Angular Best Practices v2
Angular Best Practices v2
Henry Tao
 
The Tale of 2 CLIs - Ember-cli and Angular-cli
The Tale of 2 CLIs - Ember-cli and Angular-cliThe Tale of 2 CLIs - Ember-cli and Angular-cli
The Tale of 2 CLIs - Ember-cli and Angular-cli
Tracy Lee
 

What's hot (20)

AngularJS best-practices
AngularJS best-practicesAngularJS best-practices
AngularJS best-practices
 
AngularJS 2.0
AngularJS 2.0AngularJS 2.0
AngularJS 2.0
 
Angular js vs. Facebook react
Angular js vs. Facebook reactAngular js vs. Facebook react
Angular js vs. Facebook react
 
Angular from Scratch
Angular from ScratchAngular from Scratch
Angular from Scratch
 
Angular elements - embed your angular components EVERYWHERE
Angular elements - embed your angular components EVERYWHEREAngular elements - embed your angular components EVERYWHERE
Angular elements - embed your angular components EVERYWHERE
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Angular js
Angular jsAngular js
Angular js
 
Angular js
Angular jsAngular js
Angular js
 
Angular js - 10 reasons to choose angularjs
Angular js - 10 reasons to choose angularjs Angular js - 10 reasons to choose angularjs
Angular js - 10 reasons to choose angularjs
 
Angular js for beginners
Angular js for beginnersAngular js for beginners
Angular js for beginners
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
New Perspectives on Performance
New Perspectives on PerformanceNew Perspectives on Performance
New Perspectives on Performance
 
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Javascript Frameworks Comparison - Angular, Knockout, Ember and BackboneJavascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
 
Angularjs PPT
Angularjs PPTAngularjs PPT
Angularjs PPT
 
AngularJS
AngularJSAngularJS
AngularJS
 
Introduction of angular js
Introduction of angular jsIntroduction of angular js
Introduction of angular js
 
Angular js PPT
Angular js PPTAngular js PPT
Angular js PPT
 
Angular Best Practices v2
Angular Best Practices v2Angular Best Practices v2
Angular Best Practices v2
 
The Tale of 2 CLIs - Ember-cli and Angular-cli
The Tale of 2 CLIs - Ember-cli and Angular-cliThe Tale of 2 CLIs - Ember-cli and Angular-cli
The Tale of 2 CLIs - Ember-cli and Angular-cli
 

Similar to Deep dive into AngularJs for Beginners

Brujug Jenkins pipeline scalability
Brujug Jenkins pipeline scalabilityBrujug Jenkins pipeline scalability
Brujug Jenkins pipeline scalability
Damien Coraboeuf
 
Angular js mobile jsday 2014 - Verona 14 may
Angular js mobile   jsday 2014 - Verona 14 mayAngular js mobile   jsday 2014 - Verona 14 may
Angular js mobile jsday 2014 - Verona 14 may
Luciano Amodio
 
How agile is rails
 How agile is rails How agile is rails
How agile is rails
José Mota
 
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User GroupIs Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Chase Douglas
 
Responsive, adaptive and responsible - keynote at NebraskaJS
Responsive, adaptive and responsible - keynote at NebraskaJSResponsive, adaptive and responsible - keynote at NebraskaJS
Responsive, adaptive and responsible - keynote at NebraskaJS
Christian Heilmann
 
Designing and Implementing a Multiuser Apps Platform
Designing and Implementing a Multiuser Apps PlatformDesigning and Implementing a Multiuser Apps Platform
Designing and Implementing a Multiuser Apps Platform
Apigee | Google Cloud
 
Stapling and patching the web of now - ForwardJS3, San Francisco
Stapling and patching the web of now - ForwardJS3, San FranciscoStapling and patching the web of now - ForwardJS3, San Francisco
Stapling and patching the web of now - ForwardJS3, San Francisco
Christian Heilmann
 
Erase and Rewind - Open Web Camp 2015
Erase and Rewind - Open Web Camp 2015Erase and Rewind - Open Web Camp 2015
Erase and Rewind - Open Web Camp 2015
Christian Heilmann
 
Getting out of the Job Jungle with Jenkins
Getting out of the Job Jungle with JenkinsGetting out of the Job Jungle with Jenkins
Getting out of the Job Jungle with Jenkins
Sonatype
 
Frontrunners react
Frontrunners reactFrontrunners react
Frontrunners react
Allison Kunz
 
Belgium jenkins-meetup-job-jungle-0.1
Belgium jenkins-meetup-job-jungle-0.1Belgium jenkins-meetup-job-jungle-0.1
Belgium jenkins-meetup-job-jungle-0.1
Damien Coraboeuf
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
Jamal Sinclair O'Garro
 
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Edureka!
 
Automated Testing in Angular Slides
Automated Testing in Angular SlidesAutomated Testing in Angular Slides
Automated Testing in Angular Slides
Jim Lynch
 
The Tale of the 3 CLIs - jDays2017
The Tale of the 3 CLIs - jDays2017The Tale of the 3 CLIs - jDays2017
The Tale of the 3 CLIs - jDays2017
Tracy Lee
 
AngularJS 101
AngularJS 101AngularJS 101
AngularJS 101
Houssem Yahiaoui
 
Advanced workflows
Advanced workflowsAdvanced workflows
Advanced workflows
Mitch Kuchenberg
 
O sucesso do seu app está nos detalhes!
O sucesso do seu app está nos detalhes!O sucesso do seu app está nos detalhes!
O sucesso do seu app está nos detalhes!
Suelen Carvalho
 
Atmosphere Conference 2015: The 10 Myths of DevOps
Atmosphere Conference 2015: The 10 Myths of DevOpsAtmosphere Conference 2015: The 10 Myths of DevOps
Atmosphere Conference 2015: The 10 Myths of DevOps
PROIDEA
 
Platform Engineering is Hard, and We are Doing it Wrong
Platform Engineering is Hard, and We are Doing it WrongPlatform Engineering is Hard, and We are Doing it Wrong
Platform Engineering is Hard, and We are Doing it Wrong
Dan Grøndahl Glavind
 

Similar to Deep dive into AngularJs for Beginners (20)

Brujug Jenkins pipeline scalability
Brujug Jenkins pipeline scalabilityBrujug Jenkins pipeline scalability
Brujug Jenkins pipeline scalability
 
Angular js mobile jsday 2014 - Verona 14 may
Angular js mobile   jsday 2014 - Verona 14 mayAngular js mobile   jsday 2014 - Verona 14 may
Angular js mobile jsday 2014 - Verona 14 may
 
How agile is rails
 How agile is rails How agile is rails
How agile is rails
 
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User GroupIs Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
 
Responsive, adaptive and responsible - keynote at NebraskaJS
Responsive, adaptive and responsible - keynote at NebraskaJSResponsive, adaptive and responsible - keynote at NebraskaJS
Responsive, adaptive and responsible - keynote at NebraskaJS
 
Designing and Implementing a Multiuser Apps Platform
Designing and Implementing a Multiuser Apps PlatformDesigning and Implementing a Multiuser Apps Platform
Designing and Implementing a Multiuser Apps Platform
 
Stapling and patching the web of now - ForwardJS3, San Francisco
Stapling and patching the web of now - ForwardJS3, San FranciscoStapling and patching the web of now - ForwardJS3, San Francisco
Stapling and patching the web of now - ForwardJS3, San Francisco
 
Erase and Rewind - Open Web Camp 2015
Erase and Rewind - Open Web Camp 2015Erase and Rewind - Open Web Camp 2015
Erase and Rewind - Open Web Camp 2015
 
Getting out of the Job Jungle with Jenkins
Getting out of the Job Jungle with JenkinsGetting out of the Job Jungle with Jenkins
Getting out of the Job Jungle with Jenkins
 
Frontrunners react
Frontrunners reactFrontrunners react
Frontrunners react
 
Belgium jenkins-meetup-job-jungle-0.1
Belgium jenkins-meetup-job-jungle-0.1Belgium jenkins-meetup-job-jungle-0.1
Belgium jenkins-meetup-job-jungle-0.1
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
 
Automated Testing in Angular Slides
Automated Testing in Angular SlidesAutomated Testing in Angular Slides
Automated Testing in Angular Slides
 
The Tale of the 3 CLIs - jDays2017
The Tale of the 3 CLIs - jDays2017The Tale of the 3 CLIs - jDays2017
The Tale of the 3 CLIs - jDays2017
 
AngularJS 101
AngularJS 101AngularJS 101
AngularJS 101
 
Advanced workflows
Advanced workflowsAdvanced workflows
Advanced workflows
 
O sucesso do seu app está nos detalhes!
O sucesso do seu app está nos detalhes!O sucesso do seu app está nos detalhes!
O sucesso do seu app está nos detalhes!
 
Atmosphere Conference 2015: The 10 Myths of DevOps
Atmosphere Conference 2015: The 10 Myths of DevOpsAtmosphere Conference 2015: The 10 Myths of DevOps
Atmosphere Conference 2015: The 10 Myths of DevOps
 
Platform Engineering is Hard, and We are Doing it Wrong
Platform Engineering is Hard, and We are Doing it WrongPlatform Engineering is Hard, and We are Doing it Wrong
Platform Engineering is Hard, and We are Doing it Wrong
 

Recently uploaded

E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
Gerardo Pardo-Castellote
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
lorraineandreiamcidl
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
aymanquadri279
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 

Recently uploaded (20)

E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 

Deep dive into AngularJs for Beginners

  • 2. VASSILIS PITSOUNIS
 FRONT END DEVELOPER @ JEXIA IN INDUSTRY FROM 2000 - WORKED AS WEB & APPS DEVELOPER IN SEVERAL START UPS AND COS GITHUB.COM/VAPITS @VAPITS AUTHOR FOLLOW
  • 3. LET’S START var myApp = angular.module(‘myApp’,[]);
  • 4. FRAMEWORK, NOT LIBRARY THERE ARE NO READY TO CALL FUNCTIONS
 HTML AS IT SHOULD BE ANGULAR IS HERE TO GIVE PURPOSE TO THE DOM angularjs.org
  • 5. DEEP DIVE INTO ANGULARJS WHY SHOULD I USE IT? ▸ Bootstrapping ▸ Templates ▸ 2-way data binding ▸ Module based ▸ Routing ▸ Directives ▸ Unit Test ▸ HUGE Community
  • 6. DEEP DIVE INTO ANGULARJS DOES CHUCK APPROVES? 
 + SAVES YOU TIME! + LOT’S OF DEVS
 + JOBS OPPORTUNITIES (WE ARE HIRING!!) + GOOGLE WILL BE THERE
  • 7. ANGULARJS VS REACTJS VS EMBERJS VS BACKBONEJS SOURCE: GOOGLE TRENDS
  • 9. MODEL VIEW CONTROLLER OUR ENTIRE MODEL CAN BE CONTAINED IN A 
 SINGLE JAVASCRIPT OBJECT. var name = ‘Joe’;
  • 10. MODEL VIEW CONTROLLER OUR ENTIRE MODEL CAN BE CONTAINED IN A 
 SINGLE JAVASCRIPT OBJECT. UPGRADED HTML WITH REFERENCES TO MODEL 
 <label>Name:</label>
 <input ng-model=“name”/>
 
 <h2>{{name}}</h2> <button ng-click=“saveName()”>
 Save
 </button> var name = ‘Joe’;
  • 11. MODEL VIEW CONTROLLER OUR ENTIRE MODEL CAN BE CONTAINED IN A 
 SINGLE JAVASCRIPT OBJECT. var name = ‘Joe’; function myCtrl( $scope ) {
 $scope.name = ‘Joe’; $scope.saveName = function() { alert( $scope.name ); };
 } UPGRADED HTML WITH REFERENCES TO MODEL JS CODE THAT POPULATES THE VIEW AND REACTS WITH CHANGES IN IT 
 <label>Name:</label>
 <input ng-model=“name”/>
 
 <h2>{{name}}</h2> <button ng-click=“saveName()”>
 Save
 </button>
  • 12. A GRAPH ALWAYS HELPS
  • 14. YOU CAN EASILY ADD A TWO WAY BINDING
 TO THE MODEL BY JUST: DEEP DIVE INTO ANGULARJS BEST OF ▸ Two Way Binding ▸ Templates ▸ Dependency Injections ▸ Directives ▸ Filters
 
 

  • 15. TEMPLATES AS EASY AS THE HTML… DEEP DIVE INTO ANGULARJS BEST OF ▸ Two Way Binding ▸ Templates ▸ Dependency Injections ▸ Directives ▸ Filters
 
 NGRPEAT IS AN AMAZING DIRECTIVE OF ANGULARJS. 
 I BET YOU WILL LOVE IT!

  • 16. DEPENDENCY INJECTIONS… PIECE OF CAKE DEEP DIVE INTO ANGULARJS BEST OF ▸ Two Way Binding ▸ Templates ▸ Dependency Injections ▸ Directives ▸ Filters
 

  • 17. DIRECTIVES, HARD AT THE BEGINNING BUT A MUST! DEEP DIVE INTO ANGULARJS BEST OF ▸ Two Way Binding ▸ Templates ▸ Dependency Injections ▸ Directives ▸ Filters
 
 
 Codefordirective Directive in template Browser result
  • 18. DEEP DIVE INTO ANGULARJS BEST OF ▸ Two Way Binding ▸ Templates ▸ Dependency Injections ▸ Directives ▸ Filters
 
 

  • 20. DEEP DIVE INTO ANGULARJS IF YOU WANT PERFORMANCE JUST DON’T ▸ Watchers (Multiple two-way binders) ▸ $scope.$watch ▸ Fat controllers ▸ jQuery ▸ Complicated functions in expressions (templates).
  • 21. DEEP DIVE INTO ANGULARJS THREE SIMPLE RULES FOR SPEED ▸ Use one-way binding ▸ Use Service for data & http requests ▸ The more directives, the better.
  • 22. DEEP DIVE INTO ANGULARJS THREE SIMPLE RULES FOR SPEED ▸ Use one-way binding ▸ Use Service for data & http requests ▸ The more directives, the better.
  • 23. DEEP DIVE INTO ANGULARJS THREE SIMPLE RULES FOR SPEED ▸ Use one-way binding ▸ Use Service for data & http requests ▸ The more directives, the better.
  • 24. DEEP DIVE INTO ANGULARJS ▸ Use one-way binding ▸ Use Service for data & http requests ▸ The more directives, the better. WE WILL SPEAK FURTHER FOR DIRECTIVES ON A NEXT PRESENTATION.
 YES THEY ARE CHALLENGING ENOUGH TO HAVE THEIR OWN PRESENTATION THREE SIMPLE RULES FOR SPEED
  • 25. IS IT EASY TO LEARN?
  • 26. DEEP DIVE INTO ANGULARJS DOCUMENTATION ▸ https://docs.angularjs.org/api ▸ angularjs.org
  • 27. GITHUB.COM/VAPITS @VAPITS FOLLOW, CONTACT & FIND THE PRESENTATION & EXAMPLES IN MY GITHUB & LINKEDIN PAGE NL.LINKEDIN.COM/IN/VAPITS