SlideShare a Scribd company logo
Angular Kickstart
Foyzul Karim
CEO, Code Coopers
Lead Mentor, Code Coopers Training
Angular CLI
• Has all the commands (well, most of the commands) in it. Like a
magic wand.
• Verify the environment
• > node –v
• > npm –v
• Install the cli
• > npm install -g @angular/cli
• Test if the cli is working
• > ng help
Angular4 kickstart
Create an app
• > ng new my-app = creates a new folder and scaffold the whole app
• > ng cd my-app = goes into the folder
• > ng serve = compiles the typescript and everything, host a web
server (port 4200 by default) using Webpack
Angular4 kickstart
Angular4 kickstart
Some vocabularies
• Module : set of classes works as a single unit. Like a project inside of a
solution in the compiled language world (C#/Java)
• Component : set of classes works as a mode smaller unit. It combines
of some HTML, CSS, JavaScript (TypeScript) codes. Angular’s code
combines then as a single component.
What’s happening
• Open the project / folder
• Starting point  main.ts app.module
• Bootstrapping the module (combines the required classes and make
ready as a single module (.dll concept in Dot Net world)
• So, yes we can have many different modules
Name of the component
HTML code for the
component
Css for the component
Necessary code of the
component to
manipulate the HTML
Angular4 kickstart
Angular4 kickstart
Angular4 kickstart
Add our component
• > ng generate component todo
Set our component to bootstrap
Set the selector to index.html
Angular4 kickstart
Angular Syntax
• 3 common ways to interact with view from code
• []  evaluate the expression and sets the value to the property. Its one-way
binding , only setter works
• ()  detects the event fired from the element and calls the method set here
or change the variable set here. Its one-way binding, but something like getter
• [()]  its two-way binding and behaves like the two type of binding written
above.
• {{}}  renders the value into the HTML DOM
Angular4 kickstart
Angular4 kickstart
TypeScript : its just See Sharp (C#)
Service classes
• > ng generate service todo
Angular4 kickstart
Injections
• Imports
• Providers
• Injects
That’s it. Thank you for today
• Keep in touch with me at
• http://fb.com/codecoopers
• http://fb.com/codecooperstraining
• http://github.com/foyzulkarim
• http://Youtube.com/foyzulkarim
• foyzulkarim@gmail.com

More Related Content

What's hot (20)

PPTX
Porting ASP.NET applications to Windows Azure
Gunnar Peipman
 
PDF
Scripting Languages in OSGi
Frank Lyaruu
 
PPTX
Building Modern Web Applications with ASP.NET5
Brij Mishra
 
PDF
ApacheCon Core: Service Discovery in OSGi: Beyond the JVM using Docker and Co...
Frank Lyaruu
 
PPTX
UWP apps development - Part 2
Jiri Danihelka
 
PDF
Service Discovery in OSGi: Beyond the JVM using Docker and Consul
Frank Lyaruu
 
PPTX
Writing power shell the right tool for the job
Jaap Brasser
 
PDF
Who needs containers in a serverless world
Matthias Luebken
 
PDF
Serverless architecture
vipin kumar
 
PPTX
Vincent biret azure functions and flow (ottawa)
Vincent Biret
 
PPTX
Vincent biret azure functions and flow (toronto)
Vincent Biret
 
PDF
Navigate around the edge with PowerShell
Jaap Brasser
 
PPTX
Vs java (1)
Rory Preddy
 
PPTX
Monoliths vs microservices
ahmadezzeir
 
PPTX
Building solutions with the SharePoint Framework - introduction
Waldek Mastykarz
 
PDF
Secure your environment by automation
Jaap Brasser
 
PDF
RubyConf Taiwan 2016 - Large scale Rails applications
Florian Dutey
 
PPTX
Building solutions with the SharePoint Framework - deep-dive
Waldek Mastykarz
 
PPTX
Developing Cross-Platform Web Apps with ASP.NET Core1.0
EastBanc Tachnologies
 
PDF
SGCE 2015 REST APIs
Domingo Suarez Torres
 
Porting ASP.NET applications to Windows Azure
Gunnar Peipman
 
Scripting Languages in OSGi
Frank Lyaruu
 
Building Modern Web Applications with ASP.NET5
Brij Mishra
 
ApacheCon Core: Service Discovery in OSGi: Beyond the JVM using Docker and Co...
Frank Lyaruu
 
UWP apps development - Part 2
Jiri Danihelka
 
Service Discovery in OSGi: Beyond the JVM using Docker and Consul
Frank Lyaruu
 
Writing power shell the right tool for the job
Jaap Brasser
 
Who needs containers in a serverless world
Matthias Luebken
 
Serverless architecture
vipin kumar
 
Vincent biret azure functions and flow (ottawa)
Vincent Biret
 
Vincent biret azure functions and flow (toronto)
Vincent Biret
 
Navigate around the edge with PowerShell
Jaap Brasser
 
Vs java (1)
Rory Preddy
 
Monoliths vs microservices
ahmadezzeir
 
Building solutions with the SharePoint Framework - introduction
Waldek Mastykarz
 
Secure your environment by automation
Jaap Brasser
 
RubyConf Taiwan 2016 - Large scale Rails applications
Florian Dutey
 
Building solutions with the SharePoint Framework - deep-dive
Waldek Mastykarz
 
Developing Cross-Platform Web Apps with ASP.NET Core1.0
EastBanc Tachnologies
 
SGCE 2015 REST APIs
Domingo Suarez Torres
 

Similar to Angular4 kickstart (20)

PDF
better-apps-angular-2-day1.pdf and home
ChethanGowda886434
 
PDF
Building Blocks of Angular 2 and ASP.NET Core
Levi Fuller
 
PPTX
4 Anguadasdfasdasdfasdfsdfasdfaslar (1).pptx
tilejak773
 
PDF
Web component driven development
Gil Fink
 
PPT
Angularjs for kolkata drupal meetup
Goutam Dey
 
PDF
Angular - Chapter 3 - Components
WebStackAcademy
 
PPTX
AngularJS Beginners Workshop
Sathish VJ
 
PDF
Angularjs
Ynon Perek
 
PDF
What is Node.js? (ICON UK)
Tim Davis
 
PDF
Angular 2 for Java Developers
Yakov Fain
 
PDF
Quick introduction to Angular 4 for AngularJS 1.5 developers
Paweł Żurowski
 
PDF
Raffaele Rialdi
CodeFest
 
PPTX
Angular 9
Raja Vishnu
 
PPTX
Angular js
Mauro Servienti
 
PPTX
Angular IO
Jennifer Estrada
 
PDF
Angular2 with TypeScript
Rohit Bishnoi
 
PDF
The Ring programming language version 1.5.2 book - Part 176 of 181
Mahmoud Samir Fayed
 
PPTX
Angular kickstart slideshare
SaleemMalik52
 
PPTX
Angular2 compiler
Ziv Birer
 
PDF
2016 07 - CloudBridge Python library (XSEDE16)
Enis Afgan
 
better-apps-angular-2-day1.pdf and home
ChethanGowda886434
 
Building Blocks of Angular 2 and ASP.NET Core
Levi Fuller
 
4 Anguadasdfasdasdfasdfsdfasdfaslar (1).pptx
tilejak773
 
Web component driven development
Gil Fink
 
Angularjs for kolkata drupal meetup
Goutam Dey
 
Angular - Chapter 3 - Components
WebStackAcademy
 
AngularJS Beginners Workshop
Sathish VJ
 
Angularjs
Ynon Perek
 
What is Node.js? (ICON UK)
Tim Davis
 
Angular 2 for Java Developers
Yakov Fain
 
Quick introduction to Angular 4 for AngularJS 1.5 developers
Paweł Żurowski
 
Raffaele Rialdi
CodeFest
 
Angular 9
Raja Vishnu
 
Angular js
Mauro Servienti
 
Angular IO
Jennifer Estrada
 
Angular2 with TypeScript
Rohit Bishnoi
 
The Ring programming language version 1.5.2 book - Part 176 of 181
Mahmoud Samir Fayed
 
Angular kickstart slideshare
SaleemMalik52
 
Angular2 compiler
Ziv Birer
 
2016 07 - CloudBridge Python library (XSEDE16)
Enis Afgan
 
Ad

More from Foyzul Karim (11)

PPTX
Career talk 2024 : Balancing AI & Fundamentals in Modern Software Engineering
Foyzul Karim
 
PPTX
Software architecture
Foyzul Karim
 
PPTX
Software design principles SOLID
Foyzul Karim
 
PPTX
BizBook365.com 16Feb2018 Demo
Foyzul Karim
 
PPTX
BizBook365 - Modern Inventory System for Shops
Foyzul Karim
 
PPTX
Kickstart android development with xamarin
Foyzul Karim
 
PPTX
Windows store app development using javascript
Foyzul Karim
 
PDF
Unit testing (workshop)
Foyzul Karim
 
PPTX
Windows store app development V1
Foyzul Karim
 
PDF
Data types
Foyzul Karim
 
PPT
Linq
Foyzul Karim
 
Career talk 2024 : Balancing AI & Fundamentals in Modern Software Engineering
Foyzul Karim
 
Software architecture
Foyzul Karim
 
Software design principles SOLID
Foyzul Karim
 
BizBook365.com 16Feb2018 Demo
Foyzul Karim
 
BizBook365 - Modern Inventory System for Shops
Foyzul Karim
 
Kickstart android development with xamarin
Foyzul Karim
 
Windows store app development using javascript
Foyzul Karim
 
Unit testing (workshop)
Foyzul Karim
 
Windows store app development V1
Foyzul Karim
 
Data types
Foyzul Karim
 
Ad

Recently uploaded (20)

PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
Adobe Premiere Pro Crack / Full Version / Free Download
hashhshs786
 
PDF
Add Background Images to Charts in IBM SPSS Statistics Version 31.pdf
Version 1 Analytics
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PDF
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
Adobe Premiere Pro Crack / Full Version / Free Download
hashhshs786
 
Add Background Images to Charts in IBM SPSS Statistics Version 31.pdf
Version 1 Analytics
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 

Angular4 kickstart

  • 1. Angular Kickstart Foyzul Karim CEO, Code Coopers Lead Mentor, Code Coopers Training
  • 2. Angular CLI • Has all the commands (well, most of the commands) in it. Like a magic wand. • Verify the environment • > node –v • > npm –v • Install the cli • > npm install -g @angular/cli • Test if the cli is working • > ng help
  • 4. Create an app • > ng new my-app = creates a new folder and scaffold the whole app • > ng cd my-app = goes into the folder • > ng serve = compiles the typescript and everything, host a web server (port 4200 by default) using Webpack
  • 7. Some vocabularies • Module : set of classes works as a single unit. Like a project inside of a solution in the compiled language world (C#/Java) • Component : set of classes works as a mode smaller unit. It combines of some HTML, CSS, JavaScript (TypeScript) codes. Angular’s code combines then as a single component.
  • 8. What’s happening • Open the project / folder • Starting point  main.ts app.module • Bootstrapping the module (combines the required classes and make ready as a single module (.dll concept in Dot Net world) • So, yes we can have many different modules
  • 9. Name of the component HTML code for the component Css for the component Necessary code of the component to manipulate the HTML
  • 13. Add our component • > ng generate component todo
  • 14. Set our component to bootstrap
  • 15. Set the selector to index.html
  • 17. Angular Syntax • 3 common ways to interact with view from code • []  evaluate the expression and sets the value to the property. Its one-way binding , only setter works • ()  detects the event fired from the element and calls the method set here or change the variable set here. Its one-way binding, but something like getter • [()]  its two-way binding and behaves like the two type of binding written above. • {{}}  renders the value into the HTML DOM
  • 20. TypeScript : its just See Sharp (C#)
  • 21. Service classes • > ng generate service todo
  • 24. That’s it. Thank you for today • Keep in touch with me at • http://fb.com/codecoopers • http://fb.com/codecooperstraining • http://github.com/foyzulkarim • http://Youtube.com/foyzulkarim • [email protected]