SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Downloaden Sie, um offline zu lesen
View AngularJS course details at www.edureka.co/angular-js
Getting Started With AngularJS
AngularJS for Beginners
Slide 2 www.edureka.co/angular-jsSlide 2Slide 2Slide 2
 Why should we use AngularJS?
 What is AngularJS?
 Big Brands Using AngularJS
 AngularJS Features
 AngularJS MVC & MVW Architecture
 Basic AngularJS Program
 Directives and Filters
 What is Single Page Application?
 How to Build a Responsive Single Page Application?
What will you learn today?
Slide 3 www.edureka.co/angular-jsSlide 3Slide 3Slide 3
A Web Page
Web Page
DOM Tree of the HTML document
html
head body
h1title
HTML Markup
Slide 4 www.edureka.co/angular-jsSlide 4Slide 4Slide 4
What the heck is DOM ?
DOM is a structured representation of a document and it provides a programming interface which allows you to
change the style and content of the web page
Slide 5 www.edureka.co/angular-jsSlide 5Slide 5Slide 5
Deep Thought …
So it means If I can
manipulate the DOM,
I would be able to
change page
content, but how
would I do that ?
Slide 6 www.edureka.co/angular-jsSlide 6Slide 6Slide 6
Traditional Way of Manipulating DOM - JavaScript
on clicking Manipulate DOM button
Manipulating DOM (webpage) with JavaScript
Slide 7 www.edureka.co/angular-jsSlide 7Slide 7Slide 7
Deep Thought …
I remember
jQuery can do
DOM manipulation
pretty easily !
Slide 8 www.edureka.co/angular-jsSlide 8Slide 8Slide 8
Traditional Way of Manipulating DOM - jQuery
on clicking Manipulate DOM button
Manipulating DOM (webpage) with jQuery
Slide 9 www.edureka.co/angular-jsSlide 9Slide 9Slide 9
Manipulating DOM - AngularJS
 Traditionally, the view modifies the DOM to present data and manipulates the DOM (or invokes jQuery) to
add behavior
 AngularJS puts all the DOM manipulation code into directives, thus easily separating that code out from
the view and making it available as standalone reusable units
 This helps the UI developer to concentrate fully on the user interface and the application developer to
work separately on DOM manipulations and JQuery calls.
whereas…
Slide 10 www.edureka.co/angular-jsSlide 10Slide 10Slide 10
Static
DOM
Dynamic
DOM (view)
DOM Content
Loaded Event
ng-app=“application name”
$injector
$compile $rootscope
$compile(dom, $rootscope)
Browser AngularJS
HTML
AngularJS Way
Slide 11 www.edureka.co/angular-jsSlide 11Slide 11Slide 11
Web App URI request is
made
Angular.js is Downloaded
Bootstrap callback is
registered by AngularJS
HTML page is fully
downloaded and callback is
executed
Angular traverses the DOM tree
to find ng-app directive
Angular locates the element containing
ng-app directive and defines it as the
root of app DOM
Dependency Injection is
created by an Injector
Injector creates the root scope object
($rootScope) that will become the
context for app’s model
Angular compiles the DOM by starting at the ng-
app root, then processes directives and bindings
as it work its way down the tree
Once bootstrapped, Angular waits
for browser events that might
change the model
When an event occurs, Angular
checks for a change to the model
If changes to the model are found,
Angular updates the affected bindings
within the view
AngularJS Way
Slide 12 www.edureka.co/angular-jsSlide 12Slide 12Slide 12
Can you guess, Who invented AngularJS ?
Slide 13 www.edureka.co/angular-jsSlide 13Slide 13Slide 13
AngularJS Inventors
AngularJS was originally developed in 2009 by Misko
Hevery and Adam Abrons at Brat Tech LLC, firstly
named as GetAngular
<html> enhanced for web applications
Slide 14 www.edureka.co/angular-jsSlide 14Slide 14Slide 14
Big Brands Using AngularJS
YouTube application for Sony's PlayStation 3
Go To : www.madewithangular.com
Slide 15 www.edureka.co/angular-jsSlide 15Slide 15Slide 15
Hence The Growth In Job Trends
AngularJS Features
Slide 17 www.edureka.co/angular-js
Features of AngularJS
MVC & MVW
Slide 19 www.edureka.co/angular-jsSlide 19Slide 19Slide 19
MVC & MVW Way of AngularJS
Model View
Directive Unit TestController
Whatever
HTML
CSS
MVC MVW
Model View
Controller
HTML
CSS
JavaScript
Services
2 way data binding 2 way data binding
AngularJS First Program
Slide 21 www.edureka.co/angular-jsSlide 21Slide 21Slide 21
Steps to create an AngularJS Application
AngularJS: Your First Program
1. Include
AngularJS
Slide 22 www.edureka.co/angular-jsSlide 22Slide 22Slide 22
Steps to create an AngularJS Application
AngularJS: Your First Program
2. Bootstrap the App
Slide 23 www.edureka.co/angular-jsSlide 23Slide 23Slide 23
Steps to create an AngularJS Application
AngularJS: Your First Program
3. Create the
Controller
Slide 24 www.edureka.co/angular-jsSlide 24Slide 24Slide 24
Steps to create an AngularJS Application
AngularJS: Your First Program
4. Create the
View
Slide 25 www.edureka.co/angular-jsSlide 25Slide 25Slide 25
AngularJS Directives
 The process of rendering of HTML inside the AngularJS application are controlled by Directives
 Directives guide the HTML compiler to control the DOM elements by attaching specific behavior to the elements
Directive
Directive
Slide 26 www.edureka.co/angular-jsSlide 26
Built in Directives
Name Description
ngJq Use this directive to force the angular.element library. This should be used to force either Jqlite by
leaving ng-jq blank or setting the name of the jQuery variable under window (eg. jQuery)
ngApp Use this directive to auto-bootstrap an AngularJS application. The ngApp directive designates
the root elementof the application and is typically placed near the root element of the page - e.g.
on the <body> or <html> tags
a Modifies the default behavior of the html A tag so that the default action is prevented when the
href attribute is empty
ngDisabled This directive sets the disabled attribute on the element if
the expression inside ngDisabled evaluates to truthy
form Directive that instantiates FormController
ngClass The ngClass directive allows you to dynamically set CSS classes on an HTML element by
databinding an expression that represents all classes to be added
ngController The ngController directive attaches a controller class to the view. This is a key aspect of how
angular supports the principles behind the Model-View-Controller design pattern
For rest of the directives refer https://docs.angularjs.org/api/ng/directive
Slide 27 www.edureka.co/angular-jsSlide 27
AngularJS Filters
 It formats the value of an expression for display to the user
 Filters in view templates can be used with the following
syntax
» {{ expression | filter }}
 Filters are generally injected when used with controllers,
services and directives
 With filters data can be organized to meet certain criteria
UpperCase
LowerCase
Currency
{{entity.name() | uppercase}}
{{entity.amount() | currency}}
{{entity.name() | lowercase}}
Slide 28 www.edureka.co/angular-jsSlide 28
Filter Types
 Generally used filter types
Name Usage
uppercase Change case of string to uppercase
lowercase Change case of string to lowercase
currency Formats string to currency format
number Formats numerical value
json Json representation
date Formats date
filter Filters array based on criteria
orderBy Orders array based in criteria
limitTo Limits number of objects
Slide 29 www.edureka.co/angular-jsSlide 29Slide 29Slide 29
Single Page Application
 Single-Page Applications (SPAs) are Web apps that load a single HTML page and dynamically update that
page as the user interacts with the app
 In a Single Page Application or SPA the page never reloads, though parts of the page may refresh. This
reduces the round trips to the server to a minimum
Client Side
Routing
Client Side
Rendering
How To Build Responsive SPA Using
AngularJS ?
Slide 31 www.edureka.co/angular-jsSlide 31Slide 31Slide 31
Building Highly Responsive Single Page Application
 Usecase : Build a User Management Application
 Prerequisite :
» Text Editor (sublime or notepadd ++)
» Latest browser (Firefox or Chrome)
» Installed NodeJS (server)
» Mongo (To store userinfo)
 Project Specifications :
» Login to the Application
» Create a new user
» View Users List
» Update a existing user
» Delete user
» Signout
Slide 32 www.edureka.co/angular-jsSlide 32Slide 32Slide 32
Course Details
Become an expert in AngularJS by Edureka
Edureka's AngularJS course:
• It covers the fundamental concepts like directives, routes, filters, services and factors which helps to build rich user interface
web applications in AngularJS.
• It helps you boost your web development skills and become a sought after SPA (single page application) developer. You will
learn the highly efficient Angular features like data binding, scope management, form validation, routing, i18n & lot more.
• Get to work on a To-Do List App Project towards the end of the course, which gives you complete insights on the Node.js
framework.
• Online Live Courses: 21 hours
• Assignments: 20 hours
• Project: 20 hours
• Lifetime Access + 24 X 7 Support
Go to www.edureka.co/angular-js
Thank You
Questions/Queries/Feedback
Recording and presentation will be made available to you within 24 hours

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Asp.net mvc
Asp.net mvcAsp.net mvc
Asp.net mvc
 
Java database connectivity
Java database connectivityJava database connectivity
Java database connectivity
 
Spring Boot
Spring BootSpring Boot
Spring Boot
 
Spring mvc
Spring mvcSpring mvc
Spring mvc
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
Spring Framework
Spring FrameworkSpring Framework
Spring Framework
 
Spring boot
Spring bootSpring boot
Spring boot
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
 
Spring MVC Framework
Spring MVC FrameworkSpring MVC Framework
Spring MVC Framework
 
Angular Data Binding
Angular Data BindingAngular Data Binding
Angular Data Binding
 
Angular - Chapter 4 - Data and Event Handling
 Angular - Chapter 4 - Data and Event Handling Angular - Chapter 4 - Data and Event Handling
Angular - Chapter 4 - Data and Event Handling
 
Workshop 21: React Router
Workshop 21: React RouterWorkshop 21: React Router
Workshop 21: React Router
 
Spring Boot
Spring BootSpring Boot
Spring Boot
 
Introduction to java 8 stream api
Introduction to java 8 stream apiIntroduction to java 8 stream api
Introduction to java 8 stream api
 
Spring Web MVC
Spring Web MVCSpring Web MVC
Spring Web MVC
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
 
Introduction to Spring's Dependency Injection
Introduction to Spring's Dependency InjectionIntroduction to Spring's Dependency Injection
Introduction to Spring's Dependency Injection
 
Spring Boot in Action
Spring Boot in Action Spring Boot in Action
Spring Boot in Action
 
AngularJS
AngularJS AngularJS
AngularJS
 
ASP.NET Web API
ASP.NET Web APIASP.NET Web API
ASP.NET Web API
 

Ähnlich wie AngularJS for Beginners

AngularJS : Superheroic Javascript MVW Framework
AngularJS : Superheroic Javascript MVW FrameworkAngularJS : Superheroic Javascript MVW Framework
AngularJS : Superheroic Javascript MVW FrameworkEdureka!
 
AngularJS : Superheroic JavaScript MVW Framework
AngularJS : Superheroic JavaScript MVW FrameworkAngularJS : Superheroic JavaScript MVW Framework
AngularJS : Superheroic JavaScript MVW FrameworkEdureka!
 
Angular JS - Develop Responsive Single Page Application
Angular JS - Develop Responsive Single Page ApplicationAngular JS - Develop Responsive Single Page Application
Angular JS - Develop Responsive Single Page ApplicationEdureka!
 
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Webinar on Angular JS titled 'Develop Responsive Single Page Application'Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Webinar on Angular JS titled 'Develop Responsive Single Page Application'Edureka!
 
angularjs_tutorial.docx
angularjs_tutorial.docxangularjs_tutorial.docx
angularjs_tutorial.docxtelegramvip
 
Deep Dive into AngularJS Javascript Framework
Deep Dive into AngularJS Javascript FrameworkDeep Dive into AngularJS Javascript Framework
Deep Dive into AngularJS Javascript FrameworkEdureka!
 
Angularjs on line training
Angularjs on line trainingAngularjs on line training
Angularjs on line trainingJahan Murugassan
 
Introduction to AngularJS Framework
Introduction to AngularJS FrameworkIntroduction to AngularJS Framework
Introduction to AngularJS FrameworkRaveendra R
 
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to AngularjsGaurav Agrawal
 
GDG Atlanta - Angular.js Demo and Workshop
GDG Atlanta - Angular.js Demo and WorkshopGDG Atlanta - Angular.js Demo and Workshop
GDG Atlanta - Angular.js Demo and WorkshopDrew Morris
 
Fundamentals and Implementations of Angular JS with renowned Technology Platf...
Fundamentals and Implementations of Angular JS with renowned Technology Platf...Fundamentals and Implementations of Angular JS with renowned Technology Platf...
Fundamentals and Implementations of Angular JS with renowned Technology Platf...OptiSol Business Solutions
 
A Big Picture Of AngularJS
A Big Picture Of AngularJSA Big Picture Of AngularJS
A Big Picture Of AngularJSNitin Pandit
 
One Weekend With AngularJS
One Weekend With AngularJSOne Weekend With AngularJS
One Weekend With AngularJSYashobanta Bai
 
A white paper on Fundamentals and Implementations of Angular JS
A white paper on Fundamentals and Implementations of Angular JSA white paper on Fundamentals and Implementations of Angular JS
A white paper on Fundamentals and Implementations of Angular JSOptiSol Business Solutions
 

Ähnlich wie AngularJS for Beginners (20)

AngularJS : Superheroic Javascript MVW Framework
AngularJS : Superheroic Javascript MVW FrameworkAngularJS : Superheroic Javascript MVW Framework
AngularJS : Superheroic Javascript MVW Framework
 
AngularJS By Vipin
AngularJS By VipinAngularJS By Vipin
AngularJS By Vipin
 
AngularJS : Superheroic JavaScript MVW Framework
AngularJS : Superheroic JavaScript MVW FrameworkAngularJS : Superheroic JavaScript MVW Framework
AngularJS : Superheroic JavaScript MVW Framework
 
Angular JS - Develop Responsive Single Page Application
Angular JS - Develop Responsive Single Page ApplicationAngular JS - Develop Responsive Single Page Application
Angular JS - Develop Responsive Single Page Application
 
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Webinar on Angular JS titled 'Develop Responsive Single Page Application'Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
 
angularjs_tutorial.docx
angularjs_tutorial.docxangularjs_tutorial.docx
angularjs_tutorial.docx
 
Deep Dive into AngularJS Javascript Framework
Deep Dive into AngularJS Javascript FrameworkDeep Dive into AngularJS Javascript Framework
Deep Dive into AngularJS Javascript Framework
 
Training On Angular Js
Training On Angular JsTraining On Angular Js
Training On Angular Js
 
Angularjs on line training
Angularjs on line trainingAngularjs on line training
Angularjs on line training
 
Introduction to AngularJS Framework
Introduction to AngularJS FrameworkIntroduction to AngularJS Framework
Introduction to AngularJS Framework
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Angular js
Angular jsAngular js
Angular js
 
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to Angularjs
 
Angular js workshop
Angular js workshopAngular js workshop
Angular js workshop
 
GDG Atlanta - Angular.js Demo and Workshop
GDG Atlanta - Angular.js Demo and WorkshopGDG Atlanta - Angular.js Demo and Workshop
GDG Atlanta - Angular.js Demo and Workshop
 
AngularJS - A JavaScript Framework
AngularJS - A JavaScript FrameworkAngularJS - A JavaScript Framework
AngularJS - A JavaScript Framework
 
Fundamentals and Implementations of Angular JS with renowned Technology Platf...
Fundamentals and Implementations of Angular JS with renowned Technology Platf...Fundamentals and Implementations of Angular JS with renowned Technology Platf...
Fundamentals and Implementations of Angular JS with renowned Technology Platf...
 
A Big Picture Of AngularJS
A Big Picture Of AngularJSA Big Picture Of AngularJS
A Big Picture Of AngularJS
 
One Weekend With AngularJS
One Weekend With AngularJSOne Weekend With AngularJS
One Weekend With AngularJS
 
A white paper on Fundamentals and Implementations of Angular JS
A white paper on Fundamentals and Implementations of Angular JSA white paper on Fundamentals and Implementations of Angular JS
A white paper on Fundamentals and Implementations of Angular JS
 

Mehr von Edureka!

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaEdureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaEdureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaEdureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaEdureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaEdureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaEdureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaEdureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaEdureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaEdureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaEdureka!
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | EdurekaEdureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEdureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEdureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaEdureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaEdureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaEdureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaEdureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaEdureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | EdurekaEdureka!
 

Mehr von Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
 

Kürzlich hochgeladen

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 

Kürzlich hochgeladen (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

AngularJS for Beginners

  • 1. View AngularJS course details at www.edureka.co/angular-js Getting Started With AngularJS AngularJS for Beginners
  • 2. Slide 2 www.edureka.co/angular-jsSlide 2Slide 2Slide 2  Why should we use AngularJS?  What is AngularJS?  Big Brands Using AngularJS  AngularJS Features  AngularJS MVC & MVW Architecture  Basic AngularJS Program  Directives and Filters  What is Single Page Application?  How to Build a Responsive Single Page Application? What will you learn today?
  • 3. Slide 3 www.edureka.co/angular-jsSlide 3Slide 3Slide 3 A Web Page Web Page DOM Tree of the HTML document html head body h1title HTML Markup
  • 4. Slide 4 www.edureka.co/angular-jsSlide 4Slide 4Slide 4 What the heck is DOM ? DOM is a structured representation of a document and it provides a programming interface which allows you to change the style and content of the web page
  • 5. Slide 5 www.edureka.co/angular-jsSlide 5Slide 5Slide 5 Deep Thought … So it means If I can manipulate the DOM, I would be able to change page content, but how would I do that ?
  • 6. Slide 6 www.edureka.co/angular-jsSlide 6Slide 6Slide 6 Traditional Way of Manipulating DOM - JavaScript on clicking Manipulate DOM button Manipulating DOM (webpage) with JavaScript
  • 7. Slide 7 www.edureka.co/angular-jsSlide 7Slide 7Slide 7 Deep Thought … I remember jQuery can do DOM manipulation pretty easily !
  • 8. Slide 8 www.edureka.co/angular-jsSlide 8Slide 8Slide 8 Traditional Way of Manipulating DOM - jQuery on clicking Manipulate DOM button Manipulating DOM (webpage) with jQuery
  • 9. Slide 9 www.edureka.co/angular-jsSlide 9Slide 9Slide 9 Manipulating DOM - AngularJS  Traditionally, the view modifies the DOM to present data and manipulates the DOM (or invokes jQuery) to add behavior  AngularJS puts all the DOM manipulation code into directives, thus easily separating that code out from the view and making it available as standalone reusable units  This helps the UI developer to concentrate fully on the user interface and the application developer to work separately on DOM manipulations and JQuery calls. whereas…
  • 10. Slide 10 www.edureka.co/angular-jsSlide 10Slide 10Slide 10 Static DOM Dynamic DOM (view) DOM Content Loaded Event ng-app=“application name” $injector $compile $rootscope $compile(dom, $rootscope) Browser AngularJS HTML AngularJS Way
  • 11. Slide 11 www.edureka.co/angular-jsSlide 11Slide 11Slide 11 Web App URI request is made Angular.js is Downloaded Bootstrap callback is registered by AngularJS HTML page is fully downloaded and callback is executed Angular traverses the DOM tree to find ng-app directive Angular locates the element containing ng-app directive and defines it as the root of app DOM Dependency Injection is created by an Injector Injector creates the root scope object ($rootScope) that will become the context for app’s model Angular compiles the DOM by starting at the ng- app root, then processes directives and bindings as it work its way down the tree Once bootstrapped, Angular waits for browser events that might change the model When an event occurs, Angular checks for a change to the model If changes to the model are found, Angular updates the affected bindings within the view AngularJS Way
  • 12. Slide 12 www.edureka.co/angular-jsSlide 12Slide 12Slide 12 Can you guess, Who invented AngularJS ?
  • 13. Slide 13 www.edureka.co/angular-jsSlide 13Slide 13Slide 13 AngularJS Inventors AngularJS was originally developed in 2009 by Misko Hevery and Adam Abrons at Brat Tech LLC, firstly named as GetAngular <html> enhanced for web applications
  • 14. Slide 14 www.edureka.co/angular-jsSlide 14Slide 14Slide 14 Big Brands Using AngularJS YouTube application for Sony's PlayStation 3 Go To : www.madewithangular.com
  • 15. Slide 15 www.edureka.co/angular-jsSlide 15Slide 15Slide 15 Hence The Growth In Job Trends
  • 19. Slide 19 www.edureka.co/angular-jsSlide 19Slide 19Slide 19 MVC & MVW Way of AngularJS Model View Directive Unit TestController Whatever HTML CSS MVC MVW Model View Controller HTML CSS JavaScript Services 2 way data binding 2 way data binding
  • 21. Slide 21 www.edureka.co/angular-jsSlide 21Slide 21Slide 21 Steps to create an AngularJS Application AngularJS: Your First Program 1. Include AngularJS
  • 22. Slide 22 www.edureka.co/angular-jsSlide 22Slide 22Slide 22 Steps to create an AngularJS Application AngularJS: Your First Program 2. Bootstrap the App
  • 23. Slide 23 www.edureka.co/angular-jsSlide 23Slide 23Slide 23 Steps to create an AngularJS Application AngularJS: Your First Program 3. Create the Controller
  • 24. Slide 24 www.edureka.co/angular-jsSlide 24Slide 24Slide 24 Steps to create an AngularJS Application AngularJS: Your First Program 4. Create the View
  • 25. Slide 25 www.edureka.co/angular-jsSlide 25Slide 25Slide 25 AngularJS Directives  The process of rendering of HTML inside the AngularJS application are controlled by Directives  Directives guide the HTML compiler to control the DOM elements by attaching specific behavior to the elements Directive Directive
  • 26. Slide 26 www.edureka.co/angular-jsSlide 26 Built in Directives Name Description ngJq Use this directive to force the angular.element library. This should be used to force either Jqlite by leaving ng-jq blank or setting the name of the jQuery variable under window (eg. jQuery) ngApp Use this directive to auto-bootstrap an AngularJS application. The ngApp directive designates the root elementof the application and is typically placed near the root element of the page - e.g. on the <body> or <html> tags a Modifies the default behavior of the html A tag so that the default action is prevented when the href attribute is empty ngDisabled This directive sets the disabled attribute on the element if the expression inside ngDisabled evaluates to truthy form Directive that instantiates FormController ngClass The ngClass directive allows you to dynamically set CSS classes on an HTML element by databinding an expression that represents all classes to be added ngController The ngController directive attaches a controller class to the view. This is a key aspect of how angular supports the principles behind the Model-View-Controller design pattern For rest of the directives refer https://docs.angularjs.org/api/ng/directive
  • 27. Slide 27 www.edureka.co/angular-jsSlide 27 AngularJS Filters  It formats the value of an expression for display to the user  Filters in view templates can be used with the following syntax » {{ expression | filter }}  Filters are generally injected when used with controllers, services and directives  With filters data can be organized to meet certain criteria UpperCase LowerCase Currency {{entity.name() | uppercase}} {{entity.amount() | currency}} {{entity.name() | lowercase}}
  • 28. Slide 28 www.edureka.co/angular-jsSlide 28 Filter Types  Generally used filter types Name Usage uppercase Change case of string to uppercase lowercase Change case of string to lowercase currency Formats string to currency format number Formats numerical value json Json representation date Formats date filter Filters array based on criteria orderBy Orders array based in criteria limitTo Limits number of objects
  • 29. Slide 29 www.edureka.co/angular-jsSlide 29Slide 29Slide 29 Single Page Application  Single-Page Applications (SPAs) are Web apps that load a single HTML page and dynamically update that page as the user interacts with the app  In a Single Page Application or SPA the page never reloads, though parts of the page may refresh. This reduces the round trips to the server to a minimum Client Side Routing Client Side Rendering
  • 30. How To Build Responsive SPA Using AngularJS ?
  • 31. Slide 31 www.edureka.co/angular-jsSlide 31Slide 31Slide 31 Building Highly Responsive Single Page Application  Usecase : Build a User Management Application  Prerequisite : » Text Editor (sublime or notepadd ++) » Latest browser (Firefox or Chrome) » Installed NodeJS (server) » Mongo (To store userinfo)  Project Specifications : » Login to the Application » Create a new user » View Users List » Update a existing user » Delete user » Signout
  • 32. Slide 32 www.edureka.co/angular-jsSlide 32Slide 32Slide 32 Course Details Become an expert in AngularJS by Edureka Edureka's AngularJS course: • It covers the fundamental concepts like directives, routes, filters, services and factors which helps to build rich user interface web applications in AngularJS. • It helps you boost your web development skills and become a sought after SPA (single page application) developer. You will learn the highly efficient Angular features like data binding, scope management, form validation, routing, i18n & lot more. • Get to work on a To-Do List App Project towards the end of the course, which gives you complete insights on the Node.js framework. • Online Live Courses: 21 hours • Assignments: 20 hours • Project: 20 hours • Lifetime Access + 24 X 7 Support Go to www.edureka.co/angular-js
  • 33. Thank You Questions/Queries/Feedback Recording and presentation will be made available to you within 24 hours