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

PPT
Angular Introduction By Surekha Gadkari
PPTX
Angular 9
PPTX
Angular introduction students
PPTX
PDF
Angular material
PPTX
Angular Data Binding
PPTX
Sharing Data Between Angular Components
PPTX
What is Angular?
Angular Introduction By Surekha Gadkari
Angular 9
Angular introduction students
Angular material
Angular Data Binding
Sharing Data Between Angular Components
What is Angular?

What's hot (20)

PPTX
Angular overview
PDF
Angular - Chapter 1 - Introduction
PPT
Angular App Presentation
PPTX
Introduction to angular with a simple but complete project
PPTX
Angular 14.pptx
PPT
Angular 8
PDF
Angular 16 – the rise of Signals
PPTX
Angular modules in depth
PDF
Building blocks of Angular
PDF
Angular Best Practices - Perfomatix
PPTX
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
PPTX
Angular Unit Testing
PPTX
Angular interview questions
PPTX
Angular js PPT
PDF
Angular - Chapter 4 - Data and Event Handling
PPTX
REST API Design & Development
PDF
TypeScript Best Practices
PDF
Angular
PDF
introduction to Vue.js 3
PDF
Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...
Angular overview
Angular - Chapter 1 - Introduction
Angular App Presentation
Introduction to angular with a simple but complete project
Angular 14.pptx
Angular 8
Angular 16 – the rise of Signals
Angular modules in depth
Building blocks of Angular
Angular Best Practices - Perfomatix
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
Angular Unit Testing
Angular interview questions
Angular js PPT
Angular - Chapter 4 - Data and Event Handling
REST API Design & Development
TypeScript Best Practices
Angular
introduction to Vue.js 3
Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...
Ad

Similar to Angular 5 presentation for beginners (20)

PDF
Introduction To Angular 4 - J2I
PPTX
Angular kickstart slideshare
PPTX
4 Anguadasdfasdasdfasdfsdfasdfaslar (1).pptx
PPTX
Angularj2.0
PPTX
PPTX
Angular4 getting started
PPTX
Angularjs2 presentation
PPTX
Foster - Getting started with Angular
PPTX
Angular 4 and TypeScript
PPTX
PPTX
Angular Basics.pptx
PPTX
Angular Course.pptx
PPT
Angular.ppt
PPTX
Tech io spa_angularjs_20130814_v0.9.5
PPTX
Module 1.pptx Angular JS FRAMEWORK WEBDEVELOPMENT
PPTX
Dive into Angular, part 4: Angular 2.0
PDF
Angular JS2 Training Session #1
PDF
Angular Meetup 1 - Angular Basics and Workshop
PDF
Angular js
Introduction To Angular 4 - J2I
Angular kickstart slideshare
4 Anguadasdfasdasdfasdfsdfasdfaslar (1).pptx
Angularj2.0
Angular4 getting started
Angularjs2 presentation
Foster - Getting started with Angular
Angular 4 and TypeScript
Angular Basics.pptx
Angular Course.pptx
Angular.ppt
Tech io spa_angularjs_20130814_v0.9.5
Module 1.pptx Angular JS FRAMEWORK WEBDEVELOPMENT
Dive into Angular, part 4: Angular 2.0
Angular JS2 Training Session #1
Angular Meetup 1 - Angular Basics and Workshop
Angular js
Ad

Recently uploaded (20)

PDF
Developing speaking skill_learning_mater.pdf
DOCX
HELMET DETECTION AND BIOMETRIC BASED VEHICLESECURITY USING MACHINE LEARNING.docx
PDF
GSA-Past-Papers-2010-2024-2.pdf CSS examination
PDF
anganwadi services for the b.sc nursing and GNM
PDF
Physical pharmaceutics two in b pharmacy
PPTX
Cite It Right: A Compact Illustration of APA 7th Edition.pptx
PPTX
climate change of delhi impacts on climate and there effects
PPTX
MMW-CHAPTER-1-final.pptx major Elementary Education
PPTX
Theoretical for class.pptxgshdhddhdhdhgd
PPTX
principlesofmanagementsem1slides-131211060335-phpapp01 (1).ppt
PDF
Kalaari-SaaS-Founder-Playbook-2024-Edition-.pdf
PPTX
Key-Features-of-the-SHS-Program-v4-Slides (3) PPT2.pptx
PPTX
Neurological complocations of systemic disease
PDF
Jana-Ojana Finals 2025 - School Quiz by Pragya - UEMK Quiz Club
PPTX
Neurology of Systemic disease all systems
PDF
New_Round_Up_6_SB.pdf download for free, easy to learn
PDF
horaris de grups del curs 2025-2026 de l'institut
PDF
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
PDF
Laparoscopic Imaging Systems at World Laparoscopy Hospital
PDF
GIÁO ÁN TIẾNG ANH 7 GLOBAL SUCCESS (CẢ NĂM) THEO CÔNG VĂN 5512 (2 CỘT) NĂM HỌ...
Developing speaking skill_learning_mater.pdf
HELMET DETECTION AND BIOMETRIC BASED VEHICLESECURITY USING MACHINE LEARNING.docx
GSA-Past-Papers-2010-2024-2.pdf CSS examination
anganwadi services for the b.sc nursing and GNM
Physical pharmaceutics two in b pharmacy
Cite It Right: A Compact Illustration of APA 7th Edition.pptx
climate change of delhi impacts on climate and there effects
MMW-CHAPTER-1-final.pptx major Elementary Education
Theoretical for class.pptxgshdhddhdhdhgd
principlesofmanagementsem1slides-131211060335-phpapp01 (1).ppt
Kalaari-SaaS-Founder-Playbook-2024-Edition-.pdf
Key-Features-of-the-SHS-Program-v4-Slides (3) PPT2.pptx
Neurological complocations of systemic disease
Jana-Ojana Finals 2025 - School Quiz by Pragya - UEMK Quiz Club
Neurology of Systemic disease all systems
New_Round_Up_6_SB.pdf download for free, easy to learn
horaris de grups del curs 2025-2026 de l'institut
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
Laparoscopic Imaging Systems at World Laparoscopy Hospital
GIÁO ÁN TIẾNG ANH 7 GLOBAL SUCCESS (CẢ NĂM) THEO CÔNG VĂN 5512 (2 CỘT) NĂM HỌ...

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