SlideShare a Scribd company logo
1 of 21
Introduction To Angular
Presented By
Surekha Gadkari
Date :
08/08/2019
Object Edge Inc Page : 1
Contents
 What is Angular and when to use?
 Pre-requisites
 History
 Overview of Angular Architecture
Pros and Cons
References
Object Edge Inc Page : 2
What is Angular
 Type script based Front End framework to create cross
platform dynamic web applications.
 Single Page Application & Desktop and Mobile Apps.
 Developed and supported by Google
 Fully extensible and works well with other libraries.
 Open Source.
Object Edge Inc Page : 3
When to use
 Big and Complex project.
 Apps with Dynamic Content - with respect to 3
parameters:
– Time-to-time (eg. news update web apps)
– Location-to-location (eg. Weather-report web app)
– User-to-user (eg. Gmail, Facebook type apps)
Object Edge Inc Page : 4
Pre-requisite
 Developer :
HTML, CSS, Typescript and AJAX
 Development :
Node.js (version 10.9.0 or later)
Node Package Manager (npm)
Object Edge Inc Page : 5
Version Released
1.Angular JS(Angular 1.0) October 2010
2.Angular2.0 September 2016
3.Angular4.0 March 2017
4.Angular5.0 November 2017
5.Angular6.0 May 2018
6.Angular 7.0 October 2018
7.Angular 8.0 May 2019
History
Object Edge Inc Page : 6
Angular Architecture
Object Edge Inc Page : 7
Module
 Every Angular app has a root module, conventionally named AppModule, which
provides the bootstrap mechanism that launches the application.
 An app typically contains many functional modules.
 Syntax :
@NgModule({
imports: [ BrowserModule ],
declarations: [ AppComponent ],
exports: [ AppComponent ],
bootstrap: [ AppComponent ]
})
export class AppModule { }
Object Edge Inc Page : 8
Component and Metadata
 Every Angular app has a root component, AppComponent, which connects
components with page Document Object Model.
 Component (View) – Template, css, typescript(.ts)
 Syntax :
@Component({
selector: ‘app-root’,
TemplateUrl: .’ /app.component.html’,
StyleUrls: [‘. /app.component.css’]
})
export class AppComponent{
}
Object Edge Inc Page : 9
Component Hierarchy
Object Edge Inc Page : 10
Template and Data Binding
 The angular template integrates the HTML with Angular mark-up that can modify
HTML elements before they are displayed.
 It provides program logic, and binding mark-up connects to your application data
and the DOM.
 Data-Binding :
– Property Binding (One way and Two way)
e.g. <p>Name: {{student.name}} </p>
e.g. <input type="text" [value]="title"/>
e.g. <input [(ngModel)]="title" placeholder="name"/>
– Event binding
<button (click)="changeTitle()">Click to update title</button>
Object Edge Inc Page : 11
Directives
 There are three types of Directives(modified DOM) :
1. Components directives: directives with a template
2. Structural directives : change the DOM layout by adding and removing DOM
elements
For example: *ngIf, *ngFor, and *ngSwitch directive.
3. Attribute directives : change the appearance or behavior of an element, component,
or another directive.
For example: ngClass, ngStyle etc.
<p [ngClass]="{'className': country === 'India'}> {{Name}}</p
<p [ngStyle]="{'background-color':country === 'India' ? 'red' : 'green' }">
{{Name}}</p
Object Edge Inc Page : 12
Service and Dependency Injection (DI)
 Service : any value, function or feature that an app needs.
 Angular distinguishes components from services to increase modularity and
reusability.
 A component can delegate certain tasks to services, such as fetching data from the
server, validating user input, or logging directly to the console.
 Angular creates an application-wide injector for you during the bootstrap process.
Object Edge Inc Page : 13
Overview of Angular Architecture
Object Edge Inc Page : 14
Code Time
» 1. Component Hierarchy
» 2. Data Binding
» 3. Directives
» 4. Service
Object Edge Inc Page : 15
Pros of Angular
 Components Hierarchy:
Re-usability,
Maintainability,
Readability,
Unit-test friendly
 Angular elements
 Supported by Google
 High Performance
 Detailed documentation
 An angular framework can take care of routing, which means moving from one view
to another is easy in Angular.
Object Edge Inc Page : 16
Cons of Angular
Cons :
 Angular is verbose and complex
 Steep learning curve
 CLI documentation is lacking detail
Object Edge Inc Page : 17
Object Edge Inc Page : 18
References
 https://angular.io/
 https://www.w3schools.com/
 https://www.javatpoint.com/angular-8
 https://www.tutorialspoint.com/typescript/
 https://codeburst.io/angular-evolution-7ae670ca7932
 https://programmingwithmosh.com/react/react-vs-angular/
 https://www.slideshare.net/LiliaSfaxi/angular-75780093
 https://www.tutorialandexample.com/angular-8-architecture/
 https://www.youtube.com/results?search_query=angular+8+
 https://blog.ninja-squad.com/2019/05/29/what-is-new-angular-8.0/
 https://www.code-sample.com/2019/04/angular-8-7-6-5-4-2-pros-and-cons.html
Object Edge Inc Page : 19
Any Questions ?
Object Edge Inc Page : 20
Thank You
Object Edge Inc Page : 21

More Related Content

What's hot

Angular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesAngular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesWebStackAcademy
 
Angular tutorial
Angular tutorialAngular tutorial
Angular tutorialRohit Gupta
 
Angular Interview Questions & Answers
Angular Interview Questions & AnswersAngular Interview Questions & Answers
Angular Interview Questions & AnswersRatnala Charan kumar
 
Angular App Presentation
Angular App PresentationAngular App Presentation
Angular App PresentationElizabeth Long
 
Angular 8
Angular 8 Angular 8
Angular 8 Sunil OS
 
Angular interview questions
Angular interview questionsAngular interview questions
Angular interview questionsGoa App
 
Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...
Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...
Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...Edureka!
 
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 HandlingWebStackAcademy
 
Basic overview of Angular
Basic overview of AngularBasic overview of Angular
Basic overview of AngularAleksei Bulgak
 
Routing & Navigating Pages in Angular 2
Routing & Navigating Pages in Angular 2Routing & Navigating Pages in Angular 2
Routing & Navigating Pages in Angular 2Knoldus Inc.
 
Angular Data Binding
Angular Data BindingAngular Data Binding
Angular Data BindingDuy Khanh
 
Angular - Chapter 3 - Components
Angular - Chapter 3 - ComponentsAngular - Chapter 3 - Components
Angular - Chapter 3 - ComponentsWebStackAcademy
 

What's hot (20)

Angular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesAngular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP Services
 
Angular tutorial
Angular tutorialAngular tutorial
Angular tutorial
 
What is Angular?
What is Angular?What is Angular?
What is Angular?
 
Angular Interview Questions & Answers
Angular Interview Questions & AnswersAngular Interview Questions & Answers
Angular Interview Questions & Answers
 
Angular App Presentation
Angular App PresentationAngular App Presentation
Angular App Presentation
 
Angular
AngularAngular
Angular
 
Angular 8
Angular 8 Angular 8
Angular 8
 
Angular interview questions
Angular interview questionsAngular interview questions
Angular interview questions
 
Angular Data Binding
Angular Data BindingAngular Data Binding
Angular Data Binding
 
Angularjs PPT
Angularjs PPTAngularjs PPT
Angularjs PPT
 
Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...
Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...
Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...
 
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
 
Basic overview of Angular
Basic overview of AngularBasic overview of Angular
Basic overview of Angular
 
Angular Basics.pptx
Angular Basics.pptxAngular Basics.pptx
Angular Basics.pptx
 
Routing & Navigating Pages in Angular 2
Routing & Navigating Pages in Angular 2Routing & Navigating Pages in Angular 2
Routing & Navigating Pages in Angular 2
 
Angular introduction students
Angular introduction studentsAngular introduction students
Angular introduction students
 
Angular routing
Angular routingAngular routing
Angular routing
 
What’s New in Angular 14?
What’s New in Angular 14?What’s New in Angular 14?
What’s New in Angular 14?
 
Angular Data Binding
Angular Data BindingAngular Data Binding
Angular Data Binding
 
Angular - Chapter 3 - Components
Angular - Chapter 3 - ComponentsAngular - Chapter 3 - Components
Angular - Chapter 3 - Components
 

Similar to Angular Introduction By Surekha Gadkari

Single Page Applications in SharePoint with Angular
Single Page Applications in SharePoint with AngularSingle Page Applications in SharePoint with Angular
Single Page Applications in SharePoint with AngularSparkhound Inc.
 
Angular kickstart slideshare
Angular kickstart   slideshareAngular kickstart   slideshare
Angular kickstart slideshareSaleemMalik52
 
AngularJS in Production (CTO Forum)
AngularJS in Production (CTO Forum)AngularJS in Production (CTO Forum)
AngularJS in Production (CTO Forum)Alex Ross
 
Angular Interview Question & Answers PDF By ScholarHat
Angular Interview Question & Answers PDF By ScholarHatAngular Interview Question & Answers PDF By ScholarHat
Angular Interview Question & Answers PDF By ScholarHatScholarhat
 
Angular from Zero to Mastery - Training (Intermediate)
Angular from Zero to Mastery - Training (Intermediate)Angular from Zero to Mastery - Training (Intermediate)
Angular from Zero to Mastery - Training (Intermediate)Smail LOUNES
 
Angular Project Report
 Angular Project Report Angular Project Report
Angular Project ReportKodexhub
 
AngularJS: Overview & Key Features
AngularJS: Overview & Key FeaturesAngularJS: Overview & Key Features
AngularJS: Overview & Key FeaturesMohamad Al Asmar
 
Dive into Angular, part 1: Introduction
Dive into Angular, part 1: IntroductionDive into Angular, part 1: Introduction
Dive into Angular, part 1: IntroductionOleksii Prohonnyi
 
Start your journey with angular | Basic Angular
Start your journey with angular | Basic AngularStart your journey with angular | Basic Angular
Start your journey with angular | Basic AngularAnwarul Islam
 
What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?Albiorix Technology
 
Foster - Getting started with Angular
Foster - Getting started with AngularFoster - Getting started with Angular
Foster - Getting started with AngularMukundSonaiya1
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxsarah david
 
Angular Best Practices To Build Clean and Performant Web Applications
Angular Best Practices To Build Clean and Performant Web ApplicationsAngular Best Practices To Build Clean and Performant Web Applications
Angular Best Practices To Build Clean and Performant Web ApplicationsAlbiorix Technology
 
React VS Angular- Which is Best for You in 2023?
 React VS Angular- Which is Best for You in 2023? React VS Angular- Which is Best for You in 2023?
React VS Angular- Which is Best for You in 2023?CMARIX TechnoLabs
 
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to AngularjsGaurav Agrawal
 
Angular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad indiaAngular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad indiaphp2ranjan
 

Similar to Angular Introduction By Surekha Gadkari (20)

Single Page Applications in SharePoint with Angular
Single Page Applications in SharePoint with AngularSingle Page Applications in SharePoint with Angular
Single Page Applications in SharePoint with Angular
 
Angular kickstart slideshare
Angular kickstart   slideshareAngular kickstart   slideshare
Angular kickstart slideshare
 
AngularJS in Production (CTO Forum)
AngularJS in Production (CTO Forum)AngularJS in Production (CTO Forum)
AngularJS in Production (CTO Forum)
 
Angular Interview Question & Answers PDF By ScholarHat
Angular Interview Question & Answers PDF By ScholarHatAngular Interview Question & Answers PDF By ScholarHat
Angular Interview Question & Answers PDF By ScholarHat
 
Angular from Zero to Mastery - Training (Intermediate)
Angular from Zero to Mastery - Training (Intermediate)Angular from Zero to Mastery - Training (Intermediate)
Angular from Zero to Mastery - Training (Intermediate)
 
Angular Project Report
 Angular Project Report Angular Project Report
Angular Project Report
 
AngularJS: Overview & Key Features
AngularJS: Overview & Key FeaturesAngularJS: Overview & Key Features
AngularJS: Overview & Key Features
 
Dive into Angular, part 1: Introduction
Dive into Angular, part 1: IntroductionDive into Angular, part 1: Introduction
Dive into Angular, part 1: Introduction
 
How Does Angular Work?
How Does Angular Work?How Does Angular Work?
How Does Angular Work?
 
Start your journey with angular | Basic Angular
Start your journey with angular | Basic AngularStart your journey with angular | Basic Angular
Start your journey with angular | Basic Angular
 
What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?
 
Foster - Getting started with Angular
Foster - Getting started with AngularFoster - Getting started with Angular
Foster - Getting started with Angular
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
 
Angular Best Practices To Build Clean and Performant Web Applications
Angular Best Practices To Build Clean and Performant Web ApplicationsAngular Best Practices To Build Clean and Performant Web Applications
Angular Best Practices To Build Clean and Performant Web Applications
 
React VS Angular- Which is Best for You in 2023?
 React VS Angular- Which is Best for You in 2023? React VS Angular- Which is Best for You in 2023?
React VS Angular- Which is Best for You in 2023?
 
Angular js
Angular jsAngular js
Angular js
 
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to Angularjs
 
Angular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad indiaAngular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad india
 
Angular js workshop
Angular js workshopAngular js workshop
Angular js workshop
 
Angular
AngularAngular
Angular
 

Recently uploaded

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 

Recently uploaded (20)

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 

Angular Introduction By Surekha Gadkari

  • 1. Introduction To Angular Presented By Surekha Gadkari Date : 08/08/2019 Object Edge Inc Page : 1
  • 2. Contents  What is Angular and when to use?  Pre-requisites  History  Overview of Angular Architecture Pros and Cons References Object Edge Inc Page : 2
  • 3. What is Angular  Type script based Front End framework to create cross platform dynamic web applications.  Single Page Application & Desktop and Mobile Apps.  Developed and supported by Google  Fully extensible and works well with other libraries.  Open Source. Object Edge Inc Page : 3
  • 4. When to use  Big and Complex project.  Apps with Dynamic Content - with respect to 3 parameters: – Time-to-time (eg. news update web apps) – Location-to-location (eg. Weather-report web app) – User-to-user (eg. Gmail, Facebook type apps) Object Edge Inc Page : 4
  • 5. Pre-requisite  Developer : HTML, CSS, Typescript and AJAX  Development : Node.js (version 10.9.0 or later) Node Package Manager (npm) Object Edge Inc Page : 5
  • 6. Version Released 1.Angular JS(Angular 1.0) October 2010 2.Angular2.0 September 2016 3.Angular4.0 March 2017 4.Angular5.0 November 2017 5.Angular6.0 May 2018 6.Angular 7.0 October 2018 7.Angular 8.0 May 2019 History Object Edge Inc Page : 6
  • 8. Module  Every Angular app has a root module, conventionally named AppModule, which provides the bootstrap mechanism that launches the application.  An app typically contains many functional modules.  Syntax : @NgModule({ imports: [ BrowserModule ], declarations: [ AppComponent ], exports: [ AppComponent ], bootstrap: [ AppComponent ] }) export class AppModule { } Object Edge Inc Page : 8
  • 9. Component and Metadata  Every Angular app has a root component, AppComponent, which connects components with page Document Object Model.  Component (View) – Template, css, typescript(.ts)  Syntax : @Component({ selector: ‘app-root’, TemplateUrl: .’ /app.component.html’, StyleUrls: [‘. /app.component.css’] }) export class AppComponent{ } Object Edge Inc Page : 9
  • 11. Template and Data Binding  The angular template integrates the HTML with Angular mark-up that can modify HTML elements before they are displayed.  It provides program logic, and binding mark-up connects to your application data and the DOM.  Data-Binding : – Property Binding (One way and Two way) e.g. <p>Name: {{student.name}} </p> e.g. <input type="text" [value]="title"/> e.g. <input [(ngModel)]="title" placeholder="name"/> – Event binding <button (click)="changeTitle()">Click to update title</button> Object Edge Inc Page : 11
  • 12. Directives  There are three types of Directives(modified DOM) : 1. Components directives: directives with a template 2. Structural directives : change the DOM layout by adding and removing DOM elements For example: *ngIf, *ngFor, and *ngSwitch directive. 3. Attribute directives : change the appearance or behavior of an element, component, or another directive. For example: ngClass, ngStyle etc. <p [ngClass]="{'className': country === 'India'}> {{Name}}</p <p [ngStyle]="{'background-color':country === 'India' ? 'red' : 'green' }"> {{Name}}</p Object Edge Inc Page : 12
  • 13. Service and Dependency Injection (DI)  Service : any value, function or feature that an app needs.  Angular distinguishes components from services to increase modularity and reusability.  A component can delegate certain tasks to services, such as fetching data from the server, validating user input, or logging directly to the console.  Angular creates an application-wide injector for you during the bootstrap process. Object Edge Inc Page : 13
  • 14. Overview of Angular Architecture Object Edge Inc Page : 14
  • 15. Code Time » 1. Component Hierarchy » 2. Data Binding » 3. Directives » 4. Service Object Edge Inc Page : 15
  • 16. Pros of Angular  Components Hierarchy: Re-usability, Maintainability, Readability, Unit-test friendly  Angular elements  Supported by Google  High Performance  Detailed documentation  An angular framework can take care of routing, which means moving from one view to another is easy in Angular. Object Edge Inc Page : 16
  • 17. Cons of Angular Cons :  Angular is verbose and complex  Steep learning curve  CLI documentation is lacking detail Object Edge Inc Page : 17
  • 18. Object Edge Inc Page : 18
  • 19. References  https://angular.io/  https://www.w3schools.com/  https://www.javatpoint.com/angular-8  https://www.tutorialspoint.com/typescript/  https://codeburst.io/angular-evolution-7ae670ca7932  https://programmingwithmosh.com/react/react-vs-angular/  https://www.slideshare.net/LiliaSfaxi/angular-75780093  https://www.tutorialandexample.com/angular-8-architecture/  https://www.youtube.com/results?search_query=angular+8+  https://blog.ninja-squad.com/2019/05/29/what-is-new-angular-8.0/  https://www.code-sample.com/2019/04/angular-8-7-6-5-4-2-pros-and-cons.html Object Edge Inc Page : 19
  • 20. Any Questions ? Object Edge Inc Page : 20
  • 21. Thank You Object Edge Inc Page : 21