SlideShare a Scribd company logo
Presented by : Imran Qasim
Complete
Angular JS 5
In Urdu & Hindi 2017
By: Perfect Web Solutions
1
What is Angular?
2
What is Angular ?
• An Open-Source JavaScript Framework
• It’s used to build Single Page basedWeb Application (SPA)
• Developed by Google,
• Release date March 2017,
• Current version 4.4.6 (stable).
3
Why Angular JS?
4
Why Angular JS?
• Speed &Performance,
• Smaller application,
• Modular application,
• Cross-platform Web, Mobile &Desktop,
• SPA,
• RESTful API,
• Uses TypeScript,
• It has a huge community on GitHub.
5
What Is TypeScript ?
6
What is Type Script ?
• Free & Open-Source programming language, Developed &
maintained by Microsoft.
• A superset ofJavaScript.
• Full Object-Oriented Programming with features like classes,
interfaces & modules…
• Support for ECMAScript and uses arrow function syntax.
• Compiles to plainJavaScript.
7
Single Page Application (SPA)
8
Single Page Application ?
One and Only HTMLpage for the entire application,
Dynamically update the single page with new data if needed, as
the user interacts with theapp,
Show and Hide some components during the interaction process,
No reloading or refreshing duringnavigation,
More responsive & fluid app as a result,
Full separation between the presentation logic & business logic,
Asynchronous Requests (AJAX), JSON response & RESTful API.
9
Development Environment Setup
10
Development Environment Setup
Node.js is an open-source, cross-platform JavaScript run-time environment.
we use itto:
> Run a developmentserver.
> Use the npm tool.
npm is a Node.js Package Manager for
JavaScript programming language.
npm is automatically installedwith Nodejs.
11
Development Environment Setup
To develop the application usingTypeScript we need to
install the TypeScript package using thecommand,
Angular CLI (Command Line Interface) is a tool that allows
us to create a project, generate it’s parts, build it andrun it
on the development server directly through the command
line,
12
Development Environment Setup
Visual Studio Codeas a Text Editor
13
Welcome APP
14
Creating Welcome APP
Go to your projects directory,
Using Angular CLI ng new command create the Welcome APP application,
Go to the Welcome APP directory,
Run the application using another Angular CLI command ng serve,
15
Basic Structure of
Angular Application
16
BasicStructure of ANGULAR Application
.angular-cli.json , package.json and
tsconfig.json are the responsible
files on the project configuration, it’s
dependency management and it’s
external packages.
17
BasicStructure of ANGULAR Application
main.ts and index.html are the entry
point to the application,
Since we are developing a SPA
index.html is the only HTML page in the
whole project,
style.css is the style sheet for the global
app design.
18
BasicStructure of ANGULAR Application
node_modules folder contains the
packages installed by the npm tool,
app folder contains all the work,
components, modules…
19
Bootstrapping
TheAPP
20
Bootstrapping the app
21
Building Blocks
22
Every Angular app has at least one Module, the
root module named AppModule,
An Angular app is a Modular app,
A module is a TypeScript class with the Decorator
@NgModule,
Each module in the application has it’s own Components,
Directives, Services… Theyshould be declared in
@NgModule decorator,
Modules can cooperate to achieve someapp
functionalities.
23
A Component controls a piece of screen called
view,
This view is defined by the Template associated to
the Component,
A Component handles the user interaction with the
view (Template), passes data and properties to the
view and updates itdynamically,
A Component is a TypeScript class with the
Decorator @Component.
24
A Component view is defined by its associated
Template,
A Template is bunch of HTML tags,
Along side with the HTML, a Template typically
contains some particular expressions andsyntax
which belong to Angular,
A Template may contain some Custom Tags, that
represent another Component, the selectors.
25
A Module, a Component, a Directive or a Service are
just TypeScript Classes until we tell Angular about the
difference between them, and that is done by the
Metadata,
We attach Metadata in TypeScript to a class by using
Decorators, @NgModule, @Component, @Injectable…
Metadata tells Angular which Template belongs to which
Component and which Component belongs to which
Module…
Class + @Component + Metadata = A Component
26
27
A Directive is a TypeScript class with the Decorator @Directive.
Directives appear within HTML tag as attributes.
Two kind of directives: Structural & Attribute.
Structural Directives change the layout by addingor removing
Template elements,
Example: *ngFor &*ngIf.
Attribute Directives change the appearance orthe behavior of
an existing Template element, Example: ngModel, ngStyle &
ngClass.
28
A Service is a TypeScript class with the Decorator
@Injectable,
A Service achieve some functionalities for the application
such us fetching data from server, authentication…
Thiskind of functionalities should not be done in the
Component,
AComponent should only take care of rendering the
Template (view).
29
Thank You!
30

More Related Content

What's hot (20)

PPTX
Angular
Mouad EL Fakir
 
PPTX
Angular 9
Raja Vishnu
 
PPT
Angular App Presentation
Elizabeth Long
 
ODP
Routing & Navigating Pages in Angular 2
Knoldus Inc.
 
PDF
Angular - Chapter 1 - Introduction
WebStackAcademy
 
PDF
Angular 10 course_content
NAVEENSAGGAM1
 
PPTX
Angular overview
Thanvilahari
 
PPTX
Angular
TejinderMakkar
 
PDF
Introduzione ad angular 7/8
Valerio Radice
 
PPTX
Sharing Data Between Angular Components
Squash Apps Pvt Ltd
 
PPTX
Introduction to angular with a simple but complete project
Jadson Santos
 
PPTX
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
Malla Reddy University
 
PPTX
What is Angular?
Albiorix Technology
 
PDF
Angular - Chapter 4 - Data and Event Handling
WebStackAcademy
 
PPTX
Angular interview questions
Goa App
 
PDF
Building blocks of Angular
Knoldus Inc.
 
PDF
Angular - Chapter 7 - HTTP Services
WebStackAcademy
 
PPTX
Angular 14.pptx
MohaNedGhawar
 
PPTX
Angular kickstart slideshare
SaleemMalik52
 
PPTX
Angular Components.pptx
AshokKumar616995
 
Angular 9
Raja Vishnu
 
Angular App Presentation
Elizabeth Long
 
Routing & Navigating Pages in Angular 2
Knoldus Inc.
 
Angular - Chapter 1 - Introduction
WebStackAcademy
 
Angular 10 course_content
NAVEENSAGGAM1
 
Angular overview
Thanvilahari
 
Introduzione ad angular 7/8
Valerio Radice
 
Sharing Data Between Angular Components
Squash Apps Pvt Ltd
 
Introduction to angular with a simple but complete project
Jadson Santos
 
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
Malla Reddy University
 
What is Angular?
Albiorix Technology
 
Angular - Chapter 4 - Data and Event Handling
WebStackAcademy
 
Angular interview questions
Goa App
 
Building blocks of Angular
Knoldus Inc.
 
Angular - Chapter 7 - HTTP Services
WebStackAcademy
 
Angular 14.pptx
MohaNedGhawar
 
Angular kickstart slideshare
SaleemMalik52
 
Angular Components.pptx
AshokKumar616995
 

Similar to Angular 5 presentation for beginners (20)

PDF
Introduction To Angular 4 - J2I
Nader Debbabi
 
PPTX
4 Anguadasdfasdasdfasdfsdfasdfaslar (1).pptx
tilejak773
 
PPTX
Angularj2.0
Mallikarjuna G D
 
PPTX
An Overview of Angular 4
Cynoteck Technology Solutions Private Limited
 
PPTX
Angular4 getting started
TejinderMakkar
 
PPTX
Angularjs2 presentation
dharisk
 
PPTX
Foster - Getting started with Angular
MukundSonaiya1
 
PPTX
Angular 4 and TypeScript
Ahmed El-Kady
 
PPTX
Angular Basics.pptx
AshokKumar616995
 
PPTX
Angular Course.pptx
Imdad Ullah
 
PPT
Angular.ppt
Mytrux1
 
PPTX
Tech io spa_angularjs_20130814_v0.9.5
Ganesh Kondal
 
PPTX
Module 1.pptx Angular JS FRAMEWORK WEBDEVELOPMENT
raman76530
 
PPTX
Dive into Angular, part 4: Angular 2.0
Oleksii Prohonnyi
 
PDF
Angular JS2 Training Session #1
Paras Mendiratta
 
PDF
Angular Meetup 1 - Angular Basics and Workshop
Nitin Bhojwani
 
PDF
Angular js
Felixits
 
PDF
Angular js
Felixits
 
PPTX
mean stack
michaelaaron25322
 
Introduction To Angular 4 - J2I
Nader Debbabi
 
4 Anguadasdfasdasdfasdfsdfasdfaslar (1).pptx
tilejak773
 
Angularj2.0
Mallikarjuna G D
 
Angular4 getting started
TejinderMakkar
 
Angularjs2 presentation
dharisk
 
Foster - Getting started with Angular
MukundSonaiya1
 
Angular 4 and TypeScript
Ahmed El-Kady
 
Angular Basics.pptx
AshokKumar616995
 
Angular Course.pptx
Imdad Ullah
 
Angular.ppt
Mytrux1
 
Tech io spa_angularjs_20130814_v0.9.5
Ganesh Kondal
 
Module 1.pptx Angular JS FRAMEWORK WEBDEVELOPMENT
raman76530
 
Dive into Angular, part 4: Angular 2.0
Oleksii Prohonnyi
 
Angular JS2 Training Session #1
Paras Mendiratta
 
Angular Meetup 1 - Angular Basics and Workshop
Nitin Bhojwani
 
Angular js
Felixits
 
Angular js
Felixits
 
mean stack
michaelaaron25322
 
Ad

Recently uploaded (20)

PDF
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PPTX
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PPTX
infertility, types,causes, impact, and management
Ritu480198
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PDF
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
PPTX
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
PDF
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
PPTX
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PDF
epi editorial commitee meeting presentation
MIPLM
 
PDF
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
PDF
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
Controller Request and Response in Odoo18
Celine George
 
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
infertility, types,causes, impact, and management
Ritu480198
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
epi editorial commitee meeting presentation
MIPLM
 
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
Horarios de distribución de agua en julio
pegazohn1978
 
Ad

Angular 5 presentation for beginners

  • 1. Presented by : Imran Qasim Complete Angular JS 5 In Urdu & Hindi 2017 By: Perfect Web Solutions 1
  • 3. What is Angular ? • An Open-Source JavaScript Framework • It’s used to build Single Page basedWeb Application (SPA) • Developed by Google, • Release date March 2017, • Current version 4.4.6 (stable). 3
  • 5. Why Angular JS? • Speed &Performance, • Smaller application, • Modular application, • Cross-platform Web, Mobile &Desktop, • SPA, • RESTful API, • Uses TypeScript, • It has a huge community on GitHub. 5
  • 7. What is Type Script ? • Free & Open-Source programming language, Developed & maintained by Microsoft. • A superset ofJavaScript. • Full Object-Oriented Programming with features like classes, interfaces & modules… • Support for ECMAScript and uses arrow function syntax. • Compiles to plainJavaScript. 7
  • 9. Single Page Application ? One and Only HTMLpage for the entire application, Dynamically update the single page with new data if needed, as the user interacts with theapp, Show and Hide some components during the interaction process, No reloading or refreshing duringnavigation, More responsive & fluid app as a result, Full separation between the presentation logic & business logic, Asynchronous Requests (AJAX), JSON response & RESTful API. 9
  • 11. Development Environment Setup Node.js is an open-source, cross-platform JavaScript run-time environment. we use itto: > Run a developmentserver. > Use the npm tool. npm is a Node.js Package Manager for JavaScript programming language. npm is automatically installedwith Nodejs. 11
  • 12. Development Environment Setup To develop the application usingTypeScript we need to install the TypeScript package using thecommand, Angular CLI (Command Line Interface) is a tool that allows us to create a project, generate it’s parts, build it andrun it on the development server directly through the command line, 12
  • 13. Development Environment Setup Visual Studio Codeas a Text Editor 13
  • 15. Creating Welcome APP Go to your projects directory, Using Angular CLI ng new command create the Welcome APP application, Go to the Welcome APP directory, Run the application using another Angular CLI command ng serve, 15
  • 16. Basic Structure of Angular Application 16
  • 17. BasicStructure of ANGULAR Application .angular-cli.json , package.json and tsconfig.json are the responsible files on the project configuration, it’s dependency management and it’s external packages. 17
  • 18. BasicStructure of ANGULAR Application main.ts and index.html are the entry point to the application, Since we are developing a SPA index.html is the only HTML page in the whole project, style.css is the style sheet for the global app design. 18
  • 19. BasicStructure of ANGULAR Application node_modules folder contains the packages installed by the npm tool, app folder contains all the work, components, modules… 19
  • 23. Every Angular app has at least one Module, the root module named AppModule, An Angular app is a Modular app, A module is a TypeScript class with the Decorator @NgModule, Each module in the application has it’s own Components, Directives, Services… Theyshould be declared in @NgModule decorator, Modules can cooperate to achieve someapp functionalities. 23
  • 24. A Component controls a piece of screen called view, This view is defined by the Template associated to the Component, A Component handles the user interaction with the view (Template), passes data and properties to the view and updates itdynamically, A Component is a TypeScript class with the Decorator @Component. 24
  • 25. A Component view is defined by its associated Template, A Template is bunch of HTML tags, Along side with the HTML, a Template typically contains some particular expressions andsyntax which belong to Angular, A Template may contain some Custom Tags, that represent another Component, the selectors. 25
  • 26. A Module, a Component, a Directive or a Service are just TypeScript Classes until we tell Angular about the difference between them, and that is done by the Metadata, We attach Metadata in TypeScript to a class by using Decorators, @NgModule, @Component, @Injectable… Metadata tells Angular which Template belongs to which Component and which Component belongs to which Module… Class + @Component + Metadata = A Component 26
  • 27. 27
  • 28. A Directive is a TypeScript class with the Decorator @Directive. Directives appear within HTML tag as attributes. Two kind of directives: Structural & Attribute. Structural Directives change the layout by addingor removing Template elements, Example: *ngFor &*ngIf. Attribute Directives change the appearance orthe behavior of an existing Template element, Example: ngModel, ngStyle & ngClass. 28
  • 29. A Service is a TypeScript class with the Decorator @Injectable, A Service achieve some functionalities for the application such us fetching data from server, authentication… Thiskind of functionalities should not be done in the Component, AComponent should only take care of rendering the Template (view). 29