SlideShare a Scribd company logo
1 of 45
Download to read offline
Introduction to Angular JS
Agenda
Features of AngularJS Angular App Fundamentals
What are SPAs?
2
Introduction to AngularJS?
3
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
4 10
Versions and Transitions
6
Environmental setup
7
AngularJS IDE’s
8
Introduction to Visual studio code
9
MVC Architecture
5
Prerequisites
1
Companies using AngularJS
11
Advantages of AngularJS
12
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Prerequisites
Adds Design/Structure to the
webpage
HTML
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is HTML?
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
â—Ź Stands for HyperText Markup Language
â—Ź HyperText: Link between web pages.
â—Ź Markup Language: Text between tags which defines structure.
â—Ź It is a language to create web pages
â—Ź HTML defines how the web page looks and how to display content with the help
of elements
â—Ź It forms or defines the structure of our Web Page
â—Ź Need to save your file with .html extension
HTML Skeleton
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
Adds Style/Colors to the webpage
CSS
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is CSS?
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
â—Ź Stands for Cascading Style Sheet.
● It’s a stylesheet language used for styling the HTML pages.
â—Ź It describes how the page will appear on the screen.
â—Ź It can control the layout of multiple webpages at all once.
â—Ź It adds styles like fonts, colors, layout to the webpages.
â—Ź CSS benefits accessibility primarily by separating document structure from
presentation.
â—Ź CSS allows precise control over spacing, alignment and positioning.
CSS Syntax
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
selector1{
property1:value;
property2:value;
}
selector2{
property1:value;
}
</style>
</head>
<body>
</body>
</html>
Adds Behaviour/Interactivity to the
webpage
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is JS?
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
â—Ź Stands for JavaScript.
● It’s a scripting language used for adding behavior to the webpages.
â—Ź It is a verb of the webpage that defines all the actions to be performed on a webpage.
â—Ź Its an object oriented programming language that uses JIT compiler.
â—Ź It is everywhere and all web browsers are installed with it.
â—Ź JS application ranges from web development, mobile development etc.
â—Ź JS is easy, simple and very compatible with HTML-CSS
JS Syntax
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
…..
…..
<script>
document.write(“Hello World”);
console.log(“Great Learning”);
</script>
</body>
</html>
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What are SPA’s?
What are SPAs?
Client Server Client Server
Request for www.amazon.com
Homepage for www.amazon.com in response
Request for Page X
Response for Page X
Request for an item in search box
Request page with that item results
 Multiple page request sent to Server every time we click
 Client page getting loaded again and again.
 Hence, such pages are low on speed
Request for www.gmail.com
Entire app package for www.gmail.com in response
Request for Data
Data in Response
 Single request sent to Server to load the whole
application
 Multiple data Requests going to the server, not page.
 Client page doesn’t get load again and again.
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Introduction to
AngularJS
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why AngularJS?
• Framework is the basic structure
• It helps in easy development
• It provides basic configuration
Is JS ideal for SPAs? - “No, only JS is not ideal for SPAs. We have variety of Frameworks and Libraries
instead which will make it possible for JS to create SPAs”
What is a Framework?
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is AngularJS?
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Angular JS is an open source
JavaScript Framework
Maintained by Google
It uses HTML’s syntax to
express your applications
component clearly
It is designed for web,
desktop and mobile
platforms
It is completely written in
Typescript
Primarily aimed to develop
Single Page Applications
Features of AngularJS
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Data Binding
Architecture
Directives
Not browser specific
Code Less
Speed and
Performance
Dependency Injection
Deep Linking
Routing
Productivity
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
MVC Architecture
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Customer
Waiter
Chef
Ingredients:
Milk
Tea Leaves
Water
Sugar
Cardamom
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
View
Controller
Model
DATA
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Versions and Transition
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Angular JS/Angular 1.X
– aimed to simplify both
the development and
the testing phase of
applications.
Angular 2 – Mobile
oriented, It provided
more choices for
languages from ES5,
ES6, TS.
Angular 4 – Reduce the
size of the code for the
components with faster
compilation, better bug
fixes alert.
Angular 5,6 – Angular
CLI got updated, New
commands added like
ng-update and ng-add.
Angular 7 – Prompts
were introduced which
provide tips in CLI. It
help discover inbuilt
SCSS support, routing.
Angular 8 – Ivy
Compiler introduced,
Differential loading of
modern JS, Dynamic
imports for lazy routes
Angular 9 – This came
with new and improved
Ivy compiler and
runtime, faster testing,
better debugging.
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Environmental setup
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Installing Angular
1) Install node.js and npm - https://nodejs.org/en/
Verify that you are running at least Node.js version 13.x or greater and npm version 5.x or greater
by running node -v and npm -v in a terminal/console window. Newer versions are fine.
Why node js ?
2) Install angular-cli - https://cli.angular.io/
Run command npm install -g @angular/cli
TypeScript Transpiler JavaScript
Node js
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
AngularJS IDEs
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
AngularJS IDEs
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
â—Ź Web storm
â—Ź Atom
â—Ź Sublime
â—Ź Best editor: Visual Studio
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Web storm
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Atom
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Sublime Text
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Visual studio code
Introduction to
Visual studio code
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Angular App Fundamentals
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Create Angular App
Once angular-cli is installed, create a new app
run command - ng new <name of the app>
Once the application is created, go to the application folder and run command - ng serve to serve the
application.
Serve/Run Angular App :-
The angular is by default served at http://localhost:4200
Open this link in your browser
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Angular Project Structure
Root project folder, all components
reside here
Assets folder, all images, stylesheets,
JavaScript or third party libraries
reside in assets
main.ts, index.html - entry point of
application
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
How Angular App Starts?
main.ts
app.module.ts
app.component.ts
app.component.html
Main.ts file is entry point of our application.
Main.ts file bootstrap app.module.ts file
This file bootstrap our first component i.e
app.component.ts
This file render app.component.html file.
Final HTML template
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Bootstraping the AppModule
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Bootstraping the AppComponent
Simple AngularJS App
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Companies using AngularJS
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Flipkart
Gmail
UpWork
PayPal
Samsung
YouTube
Nike
SONY
HBO
Microsoft Office
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Advantages of AngularJS
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Advantages of AngularJS
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
• Number of errors or issues will be minimal as it’s an open source framework
• Two-way binding – we used to write extra JS code to keep the data in HTML code and data later in sync.
Now, Angular will do this automatically
• Routing – Moving from one view to another is pretty easy here as it will be a SPA.
• It supports both Unit testing and Integration testing.
• Directives – It provides its own libraries and directives which makes it more easy to use and code.
Thank You
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited

More Related Content

Similar to Introduction+to+AngularJS+with+logo+from+digital+ocean.pdf

Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...Coveros, Inc.
 
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...Sauce Labs
 
Top 10 Front End Development Technologies to Focus in 2018
Top 10 Front End Development Technologies to Focus in 2018Top 10 Front End Development Technologies to Focus in 2018
Top 10 Front End Development Technologies to Focus in 2018Helios Solutions
 
quantum_leap_angularjs_tools_redefining_development_in_2023.pptx
quantum_leap_angularjs_tools_redefining_development_in_2023.pptxquantum_leap_angularjs_tools_redefining_development_in_2023.pptx
quantum_leap_angularjs_tools_redefining_development_in_2023.pptxsarah david
 
Introduction To Angular.js - SpringPeople
Introduction To Angular.js - SpringPeopleIntroduction To Angular.js - SpringPeople
Introduction To Angular.js - SpringPeopleSpringPeople
 
quantum_leap_angularjs_tools_redefining_development_in_2023.pdf
quantum_leap_angularjs_tools_redefining_development_in_2023.pdfquantum_leap_angularjs_tools_redefining_development_in_2023.pdf
quantum_leap_angularjs_tools_redefining_development_in_2023.pdfsarah david
 
Anjular js
Anjular jsAnjular js
Anjular jsNaga Dinesh
 
15 Best AngularJS Development Tools in 2024.docx
15 Best AngularJS Development Tools in 2024.docx15 Best AngularJS Development Tools in 2024.docx
15 Best AngularJS Development Tools in 2024.docxkajalsuthar11
 
Angular 4 Tutorial For Beginners | Angular 4 Introduction | Angular 4 Trainin...
Angular 4 Tutorial For Beginners | Angular 4 Introduction | Angular 4 Trainin...Angular 4 Tutorial For Beginners | Angular 4 Introduction | Angular 4 Trainin...
Angular 4 Tutorial For Beginners | Angular 4 Introduction | Angular 4 Trainin...Edureka!
 
angularjs_tutorial.docx
angularjs_tutorial.docxangularjs_tutorial.docx
angularjs_tutorial.docxtelegramvip
 
Big Improvement_ New AngularJS Tools Changing How We Develop.pdf
Big Improvement_ New AngularJS Tools Changing How We Develop.pdfBig Improvement_ New AngularJS Tools Changing How We Develop.pdf
Big Improvement_ New AngularJS Tools Changing How We Develop.pdfsarah david
 
5 Powerful Backend Frameworks for Web App Development in 2022
5 Powerful Backend Frameworks for Web App Development in 20225 Powerful Backend Frameworks for Web App Development in 2022
5 Powerful Backend Frameworks for Web App Development in 202275waytechnologies
 
What is Angular Programming Language.pdf
What is Angular Programming Language.pdfWhat is Angular Programming Language.pdf
What is Angular Programming Language.pdfNishaadequateinfosof
 

Similar to Introduction+to+AngularJS+with+logo+from+digital+ocean.pdf (20)

Angular vs react
Angular vs reactAngular vs react
Angular vs react
 
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
 
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
 
Top 10 Front End Development Technologies to Focus in 2018
Top 10 Front End Development Technologies to Focus in 2018Top 10 Front End Development Technologies to Focus in 2018
Top 10 Front End Development Technologies to Focus in 2018
 
quantum_leap_angularjs_tools_redefining_development_in_2023.pptx
quantum_leap_angularjs_tools_redefining_development_in_2023.pptxquantum_leap_angularjs_tools_redefining_development_in_2023.pptx
quantum_leap_angularjs_tools_redefining_development_in_2023.pptx
 
Introduction To Angular.js - SpringPeople
Introduction To Angular.js - SpringPeopleIntroduction To Angular.js - SpringPeople
Introduction To Angular.js - SpringPeople
 
quantum_leap_angularjs_tools_redefining_development_in_2023.pdf
quantum_leap_angularjs_tools_redefining_development_in_2023.pdfquantum_leap_angularjs_tools_redefining_development_in_2023.pdf
quantum_leap_angularjs_tools_redefining_development_in_2023.pdf
 
Anjular js
Anjular jsAnjular js
Anjular js
 
15 Best AngularJS Development Tools in 2024.docx
15 Best AngularJS Development Tools in 2024.docx15 Best AngularJS Development Tools in 2024.docx
15 Best AngularJS Development Tools in 2024.docx
 
Angular 4 Tutorial For Beginners | Angular 4 Introduction | Angular 4 Trainin...
Angular 4 Tutorial For Beginners | Angular 4 Introduction | Angular 4 Trainin...Angular 4 Tutorial For Beginners | Angular 4 Introduction | Angular 4 Trainin...
Angular 4 Tutorial For Beginners | Angular 4 Introduction | Angular 4 Trainin...
 
angularjs_tutorial.docx
angularjs_tutorial.docxangularjs_tutorial.docx
angularjs_tutorial.docx
 
Angular
AngularAngular
Angular
 
angular
angularangular
angular
 
angular content
angular contentangular content
angular content
 
angular
angularangular
angular
 
angular
angularangular
angular
 
Big Improvement_ New AngularJS Tools Changing How We Develop.pdf
Big Improvement_ New AngularJS Tools Changing How We Develop.pdfBig Improvement_ New AngularJS Tools Changing How We Develop.pdf
Big Improvement_ New AngularJS Tools Changing How We Develop.pdf
 
React js vs angularjs
React js vs angularjsReact js vs angularjs
React js vs angularjs
 
5 Powerful Backend Frameworks for Web App Development in 2022
5 Powerful Backend Frameworks for Web App Development in 20225 Powerful Backend Frameworks for Web App Development in 2022
5 Powerful Backend Frameworks for Web App Development in 2022
 
What is Angular Programming Language.pdf
What is Angular Programming Language.pdfWhat is Angular Programming Language.pdf
What is Angular Programming Language.pdf
 

More from ahmadfaisal744721

Intoduction to Graph.pptx
Intoduction to Graph.pptxIntoduction to Graph.pptx
Intoduction to Graph.pptxahmadfaisal744721
 
Introduction to Android.ppt
Introduction to Android.pptIntroduction to Android.ppt
Introduction to Android.pptahmadfaisal744721
 
db design and maintenance part 1.pptx
db design and maintenance part 1.pptxdb design and maintenance part 1.pptx
db design and maintenance part 1.pptxahmadfaisal744721
 
Chapter 4v4 Network protocols and standards 2.pptx
Chapter 4v4  Network protocols and standards 2.pptxChapter 4v4  Network protocols and standards 2.pptx
Chapter 4v4 Network protocols and standards 2.pptxahmadfaisal744721
 
Chapter 4v4 Network protocols and standards 1.pptx
Chapter 4v4  Network protocols and standards 1.pptxChapter 4v4  Network protocols and standards 1.pptx
Chapter 4v4 Network protocols and standards 1.pptxahmadfaisal744721
 
Chapter 3v3 Mobile communication systems.pptx
Chapter 3v3 Mobile communication systems.pptxChapter 3v3 Mobile communication systems.pptx
Chapter 3v3 Mobile communication systems.pptxahmadfaisal744721
 
Chapter 2v4 Pervasive Computing systems, design and infrastructure 2.pptx
Chapter 2v4 Pervasive Computing systems, design and infrastructure 2.pptxChapter 2v4 Pervasive Computing systems, design and infrastructure 2.pptx
Chapter 2v4 Pervasive Computing systems, design and infrastructure 2.pptxahmadfaisal744721
 
Chapter 2v4 Pervasive Computing systems, design and infrastructure 1.pptx
Chapter 2v4 Pervasive Computing systems, design and infrastructure 1.pptxChapter 2v4 Pervasive Computing systems, design and infrastructure 1.pptx
Chapter 2v4 Pervasive Computing systems, design and infrastructure 1.pptxahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 9.ppt
Sec.0a--Intro to pervasive computing 9.pptSec.0a--Intro to pervasive computing 9.ppt
Sec.0a--Intro to pervasive computing 9.pptahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 8.ppt
Sec.0a--Intro to pervasive computing 8.pptSec.0a--Intro to pervasive computing 8.ppt
Sec.0a--Intro to pervasive computing 8.pptahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 7.ppt
Sec.0a--Intro to pervasive computing 7.pptSec.0a--Intro to pervasive computing 7.ppt
Sec.0a--Intro to pervasive computing 7.pptahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 6.ppt
Sec.0a--Intro to pervasive computing 6.pptSec.0a--Intro to pervasive computing 6.ppt
Sec.0a--Intro to pervasive computing 6.pptahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 5.ppt
Sec.0a--Intro to pervasive computing 5.pptSec.0a--Intro to pervasive computing 5.ppt
Sec.0a--Intro to pervasive computing 5.pptahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 4.ppt
Sec.0a--Intro to pervasive computing 4.pptSec.0a--Intro to pervasive computing 4.ppt
Sec.0a--Intro to pervasive computing 4.pptahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 3.ppt
Sec.0a--Intro to pervasive computing 3.pptSec.0a--Intro to pervasive computing 3.ppt
Sec.0a--Intro to pervasive computing 3.pptahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 2.ppt
Sec.0a--Intro to pervasive computing 2.pptSec.0a--Intro to pervasive computing 2.ppt
Sec.0a--Intro to pervasive computing 2.pptahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 1.ppt
Sec.0a--Intro to pervasive computing 1.pptSec.0a--Intro to pervasive computing 1.ppt
Sec.0a--Intro to pervasive computing 1.pptahmadfaisal744721
 

More from ahmadfaisal744721 (20)

Intoduction to Graph.pptx
Intoduction to Graph.pptxIntoduction to Graph.pptx
Intoduction to Graph.pptx
 
Introduction to Android.ppt
Introduction to Android.pptIntroduction to Android.ppt
Introduction to Android.ppt
 
Topics-Ch4Ch5.ppt
Topics-Ch4Ch5.pptTopics-Ch4Ch5.ppt
Topics-Ch4Ch5.ppt
 
db design and maintenance part 1.pptx
db design and maintenance part 1.pptxdb design and maintenance part 1.pptx
db design and maintenance part 1.pptx
 
Chapter 4v4 Network protocols and standards 2.pptx
Chapter 4v4  Network protocols and standards 2.pptxChapter 4v4  Network protocols and standards 2.pptx
Chapter 4v4 Network protocols and standards 2.pptx
 
Chapter 4v4 Network protocols and standards 1.pptx
Chapter 4v4  Network protocols and standards 1.pptxChapter 4v4  Network protocols and standards 1.pptx
Chapter 4v4 Network protocols and standards 1.pptx
 
Chapter 3v3 Mobile communication systems.pptx
Chapter 3v3 Mobile communication systems.pptxChapter 3v3 Mobile communication systems.pptx
Chapter 3v3 Mobile communication systems.pptx
 
Chapter 2v4 Pervasive Computing systems, design and infrastructure 2.pptx
Chapter 2v4 Pervasive Computing systems, design and infrastructure 2.pptxChapter 2v4 Pervasive Computing systems, design and infrastructure 2.pptx
Chapter 2v4 Pervasive Computing systems, design and infrastructure 2.pptx
 
Chapter 2v4 Pervasive Computing systems, design and infrastructure 1.pptx
Chapter 2v4 Pervasive Computing systems, design and infrastructure 1.pptxChapter 2v4 Pervasive Computing systems, design and infrastructure 1.pptx
Chapter 2v4 Pervasive Computing systems, design and infrastructure 1.pptx
 
Sec.0a--Intro to pervasive computing 9.ppt
Sec.0a--Intro to pervasive computing 9.pptSec.0a--Intro to pervasive computing 9.ppt
Sec.0a--Intro to pervasive computing 9.ppt
 
Sec.0a--Intro to pervasive computing 8.ppt
Sec.0a--Intro to pervasive computing 8.pptSec.0a--Intro to pervasive computing 8.ppt
Sec.0a--Intro to pervasive computing 8.ppt
 
Sec.0a--Intro to pervasive computing 7.ppt
Sec.0a--Intro to pervasive computing 7.pptSec.0a--Intro to pervasive computing 7.ppt
Sec.0a--Intro to pervasive computing 7.ppt
 
Sec.0a--Intro to pervasive computing 6.ppt
Sec.0a--Intro to pervasive computing 6.pptSec.0a--Intro to pervasive computing 6.ppt
Sec.0a--Intro to pervasive computing 6.ppt
 
Sec.0a--Intro to pervasive computing 5.ppt
Sec.0a--Intro to pervasive computing 5.pptSec.0a--Intro to pervasive computing 5.ppt
Sec.0a--Intro to pervasive computing 5.ppt
 
Sec.0a--Intro to pervasive computing 4.ppt
Sec.0a--Intro to pervasive computing 4.pptSec.0a--Intro to pervasive computing 4.ppt
Sec.0a--Intro to pervasive computing 4.ppt
 
Sec.0a--Intro to pervasive computing 3.ppt
Sec.0a--Intro to pervasive computing 3.pptSec.0a--Intro to pervasive computing 3.ppt
Sec.0a--Intro to pervasive computing 3.ppt
 
Sec.0a--Intro to pervasive computing 2.ppt
Sec.0a--Intro to pervasive computing 2.pptSec.0a--Intro to pervasive computing 2.ppt
Sec.0a--Intro to pervasive computing 2.ppt
 
Sec.0a--Intro to pervasive computing 1.ppt
Sec.0a--Intro to pervasive computing 1.pptSec.0a--Intro to pervasive computing 1.ppt
Sec.0a--Intro to pervasive computing 1.ppt
 
write no image.pptx
write no image.pptxwrite no image.pptx
write no image.pptx
 
Topics-Ch4Ch5.ppt
Topics-Ch4Ch5.pptTopics-Ch4Ch5.ppt
Topics-Ch4Ch5.ppt
 

Recently uploaded

call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfParomita Roy
 
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk GurgaonCheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk GurgaonDelhi Call girls
 
A level Digipak development Presentation
A level Digipak development PresentationA level Digipak development Presentation
A level Digipak development Presentationamedia6
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130Suhani Kapoor
 
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130Suhani Kapoor
 
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 nightCheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 nightDelhi Call girls
 
Bus tracking.pptx ,,,,,,,,,,,,,,,,,,,,,,,,,,
Bus tracking.pptx ,,,,,,,,,,,,,,,,,,,,,,,,,,Bus tracking.pptx ,,,,,,,,,,,,,,,,,,,,,,,,,,
Bus tracking.pptx ,,,,,,,,,,,,,,,,,,,,,,,,,,bhuyansuprit
 
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...Amil baba
 
Kieran Salaria Graphic Design PDF Portfolio
Kieran Salaria Graphic Design PDF PortfolioKieran Salaria Graphic Design PDF Portfolio
Kieran Salaria Graphic Design PDF Portfolioktksalaria
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Roomdivyansh0kumar0
 
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...Yantram Animation Studio Corporation
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryWilliamVickery6
 
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Servicejennyeacort
 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentationamedia6
 
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...ankitnayak356677
 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptxVanshNarang19
 

Recently uploaded (20)

call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
 
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance VVIP 🍎 SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SER...Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance VVIP 🍎 SER...
 
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk GurgaonCheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
 
A level Digipak development Presentation
A level Digipak development PresentationA level Digipak development Presentation
A level Digipak development Presentation
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
 
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
 
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 nightCheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
 
Bus tracking.pptx ,,,,,,,,,,,,,,,,,,,,,,,,,,
Bus tracking.pptx ,,,,,,,,,,,,,,,,,,,,,,,,,,Bus tracking.pptx ,,,,,,,,,,,,,,,,,,,,,,,,,,
Bus tracking.pptx ,,,,,,,,,,,,,,,,,,,,,,,,,,
 
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
 
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
 
Kieran Salaria Graphic Design PDF Portfolio
Kieran Salaria Graphic Design PDF PortfolioKieran Salaria Graphic Design PDF Portfolio
Kieran Salaria Graphic Design PDF Portfolio
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
 
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William Vickery
 
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentation
 
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptx
 

Introduction+to+AngularJS+with+logo+from+digital+ocean.pdf

  • 2. Agenda Features of AngularJS Angular App Fundamentals What are SPAs? 2 Introduction to AngularJS? 3 Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited 4 10 Versions and Transitions 6 Environmental setup 7 AngularJS IDE’s 8 Introduction to Visual studio code 9 MVC Architecture 5 Prerequisites 1 Companies using AngularJS 11 Advantages of AngularJS 12
  • 3. Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Prerequisites
  • 4. Adds Design/Structure to the webpage HTML Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 5. What is HTML? Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited â—Ź Stands for HyperText Markup Language â—Ź HyperText: Link between web pages. â—Ź Markup Language: Text between tags which defines structure. â—Ź It is a language to create web pages â—Ź HTML defines how the web page looks and how to display content with the help of elements â—Ź It forms or defines the structure of our Web Page â—Ź Need to save your file with .html extension
  • 6. HTML Skeleton Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited <!DOCTYPE html> <html> <head> <title></title> </head> <body> </body> </html>
  • 7. Adds Style/Colors to the webpage CSS Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 8. What is CSS? Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited â—Ź Stands for Cascading Style Sheet. â—Ź It’s a stylesheet language used for styling the HTML pages. â—Ź It describes how the page will appear on the screen. â—Ź It can control the layout of multiple webpages at all once. â—Ź It adds styles like fonts, colors, layout to the webpages. â—Ź CSS benefits accessibility primarily by separating document structure from presentation. â—Ź CSS allows precise control over spacing, alignment and positioning.
  • 9. CSS Syntax Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited <!DOCTYPE html> <html> <head> <title></title> <style> selector1{ property1:value; property2:value; } selector2{ property1:value; } </style> </head> <body> </body> </html>
  • 10. Adds Behaviour/Interactivity to the webpage Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 11. What is JS? Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited â—Ź Stands for JavaScript. â—Ź It’s a scripting language used for adding behavior to the webpages. â—Ź It is a verb of the webpage that defines all the actions to be performed on a webpage. â—Ź Its an object oriented programming language that uses JIT compiler. â—Ź It is everywhere and all web browsers are installed with it. â—Ź JS application ranges from web development, mobile development etc. â—Ź JS is easy, simple and very compatible with HTML-CSS
  • 12. JS Syntax Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited <!DOCTYPE html> <html> <head> <title></title> </head> <body> ….. ….. <script> document.write(“Hello World”); console.log(“Great Learning”); </script> </body> </html>
  • 13. Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited What are SPA’s?
  • 14. What are SPAs? Client Server Client Server Request for www.amazon.com Homepage for www.amazon.com in response Request for Page X Response for Page X Request for an item in search box Request page with that item results  Multiple page request sent to Server every time we click  Client page getting loaded again and again.  Hence, such pages are low on speed Request for www.gmail.com Entire app package for www.gmail.com in response Request for Data Data in Response  Single request sent to Server to load the whole application  Multiple data Requests going to the server, not page.  Client page doesn’t get load again and again. Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 15. Introduction to AngularJS Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 16. Why AngularJS? • Framework is the basic structure • It helps in easy development • It provides basic configuration Is JS ideal for SPAs? - “No, only JS is not ideal for SPAs. We have variety of Frameworks and Libraries instead which will make it possible for JS to create SPAs” What is a Framework? Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 17. What is AngularJS? Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Angular JS is an open source JavaScript Framework Maintained by Google It uses HTML’s syntax to express your applications component clearly It is designed for web, desktop and mobile platforms It is completely written in Typescript Primarily aimed to develop Single Page Applications
  • 18. Features of AngularJS Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 19. Data Binding Architecture Directives Not browser specific Code Less Speed and Performance Dependency Injection Deep Linking Routing Productivity Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 20. MVC Architecture Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 21. Customer Waiter Chef Ingredients: Milk Tea Leaves Water Sugar Cardamom Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 22. View Controller Model DATA Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 23. Versions and Transition Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 24. Angular JS/Angular 1.X – aimed to simplify both the development and the testing phase of applications. Angular 2 – Mobile oriented, It provided more choices for languages from ES5, ES6, TS. Angular 4 – Reduce the size of the code for the components with faster compilation, better bug fixes alert. Angular 5,6 – Angular CLI got updated, New commands added like ng-update and ng-add. Angular 7 – Prompts were introduced which provide tips in CLI. It help discover inbuilt SCSS support, routing. Angular 8 – Ivy Compiler introduced, Differential loading of modern JS, Dynamic imports for lazy routes Angular 9 – This came with new and improved Ivy compiler and runtime, faster testing, better debugging. Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 25. Environmental setup Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 26. Installing Angular 1) Install node.js and npm - https://nodejs.org/en/ Verify that you are running at least Node.js version 13.x or greater and npm version 5.x or greater by running node -v and npm -v in a terminal/console window. Newer versions are fine. Why node js ? 2) Install angular-cli - https://cli.angular.io/ Run command npm install -g @angular/cli TypeScript Transpiler JavaScript Node js Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 27. AngularJS IDEs Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 28. AngularJS IDEs Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited â—Ź Web storm â—Ź Atom â—Ź Sublime â—Ź Best editor: Visual Studio
  • 29. Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Web storm
  • 30. Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Atom
  • 31. Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Sublime Text
  • 32. Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Visual studio code
  • 33. Introduction to Visual studio code Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 34. Angular App Fundamentals Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 35. Create Angular App Once angular-cli is installed, create a new app run command - ng new <name of the app> Once the application is created, go to the application folder and run command - ng serve to serve the application. Serve/Run Angular App :- The angular is by default served at http://localhost:4200 Open this link in your browser Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 36. Angular Project Structure Root project folder, all components reside here Assets folder, all images, stylesheets, JavaScript or third party libraries reside in assets main.ts, index.html - entry point of application Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 37. How Angular App Starts? main.ts app.module.ts app.component.ts app.component.html Main.ts file is entry point of our application. Main.ts file bootstrap app.module.ts file This file bootstrap our first component i.e app.component.ts This file render app.component.html file. Final HTML template Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 38. Bootstraping the AppModule Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 39. Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Bootstraping the AppComponent
  • 40. Simple AngularJS App Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 41. Companies using AngularJS Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 42. Flipkart Gmail UpWork PayPal Samsung YouTube Nike SONY HBO Microsoft Office Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 43. Advantages of AngularJS Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 44. Advantages of AngularJS Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited • Number of errors or issues will be minimal as it’s an open source framework • Two-way binding – we used to write extra JS code to keep the data in HTML code and data later in sync. Now, Angular will do this automatically • Routing – Moving from one view to another is pretty easy here as it will be a SPA. • It supports both Unit testing and Integration testing. • Directives – It provides its own libraries and directives which makes it more easy to use and code.
  • 45. Thank You Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited