SlideShare a Scribd company logo
Ng-Talk
By: Aymen Bennour
intro
1. What is a Framework? and
Why we use it ?
2. What and why Angular ?
3. Your first step to be an
AWESOME Ng-dev ?
Why do I need a
Framework
Framework is a technology that
provide us with the right tools to
build a web application while also
defining how it should be designed
and how the code should be
organized.
Pros for using a Framework
1. Most JS frameworks these days are
opinionated.
2. Help you write well maintained and
scalable clean-code.
3. Eliminate the risk of reinventing the
wheel.
1. What is Angular
Angular is a Javascript framework
to build more interactive web apps
AKA single-page application(SPA).
It is designed for both Web,
Desktop(Electron)and Mobile
platforms(NativeScript).
So what is a single-page
application or SPA ?
A single-page
application is
an app that
works inside a
browser and
does not
require page
reloading
during use.
Ng talk
Why Angular
Ng talk
Let’s talk some Angular :D
Angular CLI (command line
interface)
Angular cli is a command line interface to
scaffold and build angular apps.
Not only it provides you scalable project
structure, instead it handles all common
tedious tasks for you out of the box.
Getting started
with the Angular
Cli
ng new
Create well structure
apps out of the box.
ng generate
Generate components,
routes, services and
pipes with a simple
command.
ng serve
Easily test your app
locally while
developing.
A word about TypeScript the
future of Javascript
A word about
TypeScript
the future of
Javascript
Debugging in
TypeScript
How Angular Really
works
Ng talk
Component
The fundamental building block in an ng app, consist of 02 main
parts:
1. @Component
Decorator that marks a class as an Angular component and provides
configuration metadata that determines how the component should be
processed, instantiated, and used at runtime.
2. Controller
A class that control the logique of the component
Ng talk
Template binding
We call the syntax of {{...}}
template binding and what we mean
by it is to tell the view that we
want to use the value of the
expression inside the brackets at
this location.
Ng talk
Built in directives
Angular provide a number of built
in directives, which are attributes
we add to our HTML elements that
give us a dynamic behavior.
NgIf
The ngIf directive is used
when you want to show or hide
an element based on a Boolean
condition. Therefor the
element will be removed from
the DOM if the expression
returns false.
Ng talk
NgSwitch
ngSwitch directive works is
similar to how the switch
statement works which is by
allowing a single evaluation
of an expression, and then
display nested elements based
on the value that resulted
from that evaluation.
Ng talk
NgFor
the role of this directive is
to repeat a given DOM element
(or a collection of DOM
elements) by looping through
an element on each iteration.
Ng talk
Pipes in Angular
Angular pipes are a way to
write display-value
transformations that you
can declare in your HTML.
Ng talk
Bootstrapping the App
Thanks! Where to find me:
Twitter: @aymenokay
LinkedIn: Aymene Bennour
Email: aymenebennour@gmail.com

More Related Content

PDF
Angular 2 - An Introduction
PDF
Introduction To Angular 4 - J2I
PPTX
Dive into Angular, part 4: Angular 2.0
PDF
Developing a Demo Application with Angular 4 - J2I
PDF
Angular2 with TypeScript
PPTX
Angular 4 and TypeScript
PPTX
Introduction to angular 2
PPTX
Code migration from Angular 1.x to Angular 2.0
Angular 2 - An Introduction
Introduction To Angular 4 - J2I
Dive into Angular, part 4: Angular 2.0
Developing a Demo Application with Angular 4 - J2I
Angular2 with TypeScript
Angular 4 and TypeScript
Introduction to angular 2
Code migration from Angular 1.x to Angular 2.0

What's hot (20)

PDF
Everything You Need To Know About AngularJS
PPTX
Angular 2
PPTX
Angular 2 - a New Hope
PDF
Angular2 with type script
PPTX
Dive into Angular, part 1: Introduction
PDF
Angular EE - Special Workshop by Nir Kaufman
PDF
The productive developer guide to Angular 2
PPTX
Dive into Angular, part 2: Architecture
PDF
AngularJS 2.0: A natural evolvement or a new beginning - Boyan Mihaylov - Cod...
PDF
Angular Dependency Injection
PDF
Some experiences building an Android app with React Native & Redux
PDF
Beyond AngularJS: Best practices and more
PDF
Introduction to Angular 2
PPTX
Migrating an Application from Angular 1 to Angular 2
PPTX
PPT on Angular 2 Development Tutorial
PPTX
Angular elements - embed your angular components EVERYWHERE
PDF
What is Angular version 4?
PPTX
Modules in AngularJs
PPTX
AngularJS: Service, factory & provider
PPTX
Dive into Angular, part 3: Performance
Everything You Need To Know About AngularJS
Angular 2
Angular 2 - a New Hope
Angular2 with type script
Dive into Angular, part 1: Introduction
Angular EE - Special Workshop by Nir Kaufman
The productive developer guide to Angular 2
Dive into Angular, part 2: Architecture
AngularJS 2.0: A natural evolvement or a new beginning - Boyan Mihaylov - Cod...
Angular Dependency Injection
Some experiences building an Android app with React Native & Redux
Beyond AngularJS: Best practices and more
Introduction to Angular 2
Migrating an Application from Angular 1 to Angular 2
PPT on Angular 2 Development Tutorial
Angular elements - embed your angular components EVERYWHERE
What is Angular version 4?
Modules in AngularJs
AngularJS: Service, factory & provider
Dive into Angular, part 3: Performance
Ad

Similar to Ng talk (20)

PPTX
Angular Framework.pptx
PPTX
Angular Js
PPTX
ME vs WEB - AngularJS Fundamentals
PPTX
AngularJS is awesome
PPTX
Angular 18 course for begineers and experienced
PPTX
Foster - Getting started with Angular
PDF
One Weekend With AngularJS
PPTX
How Does Angular Work?
PDF
Angular js
PPTX
Angular crash course
PDF
Responsive web design with Angularjs
PDF
AngularJs
PDF
Angularjs 131211063348-phpapp01
PPTX
mean stack
PPTX
Angular JS training institute in Jaipur
PPTX
What is Angular?
PDF
Where and Why Use Angular for Web Development?
PPTX
Angularjs basic part01
PPTX
Learning AngularJS - Complete coverage of AngularJS features and concepts
Angular Framework.pptx
Angular Js
ME vs WEB - AngularJS Fundamentals
AngularJS is awesome
Angular 18 course for begineers and experienced
Foster - Getting started with Angular
One Weekend With AngularJS
How Does Angular Work?
Angular js
Angular crash course
Responsive web design with Angularjs
AngularJs
Angularjs 131211063348-phpapp01
mean stack
Angular JS training institute in Jaipur
What is Angular?
Where and Why Use Angular for Web Development?
Angularjs basic part01
Learning AngularJS - Complete coverage of AngularJS features and concepts
Ad

Recently uploaded (20)

PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
history of c programming in notes for students .pptx
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
top salesforce developer skills in 2025.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
L1 - Introduction to python Backend.pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Digital Strategies for Manufacturing Companies
PDF
AI in Product Development-omnex systems
PPTX
Online Work Permit System for Fast Permit Processing
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
history of c programming in notes for students .pptx
How to Migrate SBCGlobal Email to Yahoo Easily
CHAPTER 2 - PM Management and IT Context
top salesforce developer skills in 2025.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
How to Choose the Right IT Partner for Your Business in Malaysia
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Odoo POS Development Services by CandidRoot Solutions
ISO 45001 Occupational Health and Safety Management System
Understanding Forklifts - TECH EHS Solution
L1 - Introduction to python Backend.pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PTS Company Brochure 2025 (1).pdf.......
Digital Strategies for Manufacturing Companies
AI in Product Development-omnex systems
Online Work Permit System for Fast Permit Processing

Ng talk

  • 2. intro 1. What is a Framework? and Why we use it ? 2. What and why Angular ? 3. Your first step to be an AWESOME Ng-dev ?
  • 3. Why do I need a Framework Framework is a technology that provide us with the right tools to build a web application while also defining how it should be designed and how the code should be organized.
  • 4. Pros for using a Framework 1. Most JS frameworks these days are opinionated. 2. Help you write well maintained and scalable clean-code. 3. Eliminate the risk of reinventing the wheel.
  • 5. 1. What is Angular Angular is a Javascript framework to build more interactive web apps AKA single-page application(SPA). It is designed for both Web, Desktop(Electron)and Mobile platforms(NativeScript).
  • 6. So what is a single-page application or SPA ? A single-page application is an app that works inside a browser and does not require page reloading during use.
  • 10. Let’s talk some Angular :D
  • 11. Angular CLI (command line interface)
  • 12. Angular cli is a command line interface to scaffold and build angular apps. Not only it provides you scalable project structure, instead it handles all common tedious tasks for you out of the box.
  • 13. Getting started with the Angular Cli ng new Create well structure apps out of the box. ng generate Generate components, routes, services and pipes with a simple command. ng serve Easily test your app locally while developing.
  • 14. A word about TypeScript the future of Javascript
  • 15. A word about TypeScript the future of Javascript
  • 19. Component The fundamental building block in an ng app, consist of 02 main parts: 1. @Component Decorator that marks a class as an Angular component and provides configuration metadata that determines how the component should be processed, instantiated, and used at runtime. 2. Controller A class that control the logique of the component
  • 21. Template binding We call the syntax of {{...}} template binding and what we mean by it is to tell the view that we want to use the value of the expression inside the brackets at this location.
  • 23. Built in directives Angular provide a number of built in directives, which are attributes we add to our HTML elements that give us a dynamic behavior.
  • 24. NgIf The ngIf directive is used when you want to show or hide an element based on a Boolean condition. Therefor the element will be removed from the DOM if the expression returns false.
  • 26. NgSwitch ngSwitch directive works is similar to how the switch statement works which is by allowing a single evaluation of an expression, and then display nested elements based on the value that resulted from that evaluation.
  • 28. NgFor the role of this directive is to repeat a given DOM element (or a collection of DOM elements) by looping through an element on each iteration.
  • 30. Pipes in Angular Angular pipes are a way to write display-value transformations that you can declare in your HTML.
  • 33. Thanks! Where to find me: Twitter: @aymenokay LinkedIn: Aymene Bennour Email: aymenebennour@gmail.com