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

PPTX
Microservices: A developer's approach
PDF
Before you jump into Angular
PPTX
Software architecture : From project management to deployment
PPTX
SDLC, Agile methodologies and Career in Product management
PPTX
A practical approach on - How to design offline-online synchronization system
PPTX
Entity Framework 7: What's New?
PPTX
BizBook365 : A microservice approach
PPT
Front-End Tools and Workflows
Microservices: A developer's approach
Before you jump into Angular
Software architecture : From project management to deployment
SDLC, Agile methodologies and Career in Product management
A practical approach on - How to design offline-online synchronization system
Entity Framework 7: What's New?
BizBook365 : A microservice approach
Front-End Tools and Workflows

What's hot (20)

PPTX
Porting ASP.NET applications to Windows Azure
PDF
Scripting Languages in OSGi
PPTX
Building Modern Web Applications with ASP.NET5
PDF
ApacheCon Core: Service Discovery in OSGi: Beyond the JVM using Docker and Co...
PPTX
UWP apps development - Part 2
PDF
Service Discovery in OSGi: Beyond the JVM using Docker and Consul
PPTX
Writing power shell the right tool for the job
PDF
Who needs containers in a serverless world
PDF
Serverless architecture
PPTX
Vincent biret azure functions and flow (ottawa)
PPTX
Vincent biret azure functions and flow (toronto)
PDF
Navigate around the edge with PowerShell
PPTX
Vs java (1)
PPTX
Monoliths vs microservices
PPTX
Building solutions with the SharePoint Framework - introduction
PDF
Secure your environment by automation
PDF
RubyConf Taiwan 2016 - Large scale Rails applications
PPTX
Building solutions with the SharePoint Framework - deep-dive
PPTX
Developing Cross-Platform Web Apps with ASP.NET Core1.0
PDF
SGCE 2015 REST APIs
Porting ASP.NET applications to Windows Azure
Scripting Languages in OSGi
Building Modern Web Applications with ASP.NET5
ApacheCon Core: Service Discovery in OSGi: Beyond the JVM using Docker and Co...
UWP apps development - Part 2
Service Discovery in OSGi: Beyond the JVM using Docker and Consul
Writing power shell the right tool for the job
Who needs containers in a serverless world
Serverless architecture
Vincent biret azure functions and flow (ottawa)
Vincent biret azure functions and flow (toronto)
Navigate around the edge with PowerShell
Vs java (1)
Monoliths vs microservices
Building solutions with the SharePoint Framework - introduction
Secure your environment by automation
RubyConf Taiwan 2016 - Large scale Rails applications
Building solutions with the SharePoint Framework - deep-dive
Developing Cross-Platform Web Apps with ASP.NET Core1.0
SGCE 2015 REST APIs
Ad

Similar to Angular4 kickstart (20)

PDF
better-apps-angular-2-day1.pdf and home
PDF
Building Blocks of Angular 2 and ASP.NET Core
PPTX
4 Anguadasdfasdasdfasdfsdfasdfaslar (1).pptx
PDF
Web component driven development
PPT
Angularjs for kolkata drupal meetup
PDF
Angular - Chapter 3 - Components
PPTX
AngularJS Beginners Workshop
PDF
Angularjs
PDF
What is Node.js? (ICON UK)
PDF
Angular 2 for Java Developers
PDF
Quick introduction to Angular 4 for AngularJS 1.5 developers
PDF
Raffaele Rialdi
PPTX
Angular 9
PPTX
Angular js
PPTX
Web Techdfasvfsvgsfgnolofgdfggy Unit I.pptx
PPTX
Angular IO
PDF
Angular2 with TypeScript
PDF
The Ring programming language version 1.5.2 book - Part 176 of 181
PPTX
Angular kickstart slideshare
PPTX
Angular2 compiler
better-apps-angular-2-day1.pdf and home
Building Blocks of Angular 2 and ASP.NET Core
4 Anguadasdfasdasdfasdfsdfasdfaslar (1).pptx
Web component driven development
Angularjs for kolkata drupal meetup
Angular - Chapter 3 - Components
AngularJS Beginners Workshop
Angularjs
What is Node.js? (ICON UK)
Angular 2 for Java Developers
Quick introduction to Angular 4 for AngularJS 1.5 developers
Raffaele Rialdi
Angular 9
Angular js
Web Techdfasvfsvgsfgnolofgdfggy Unit I.pptx
Angular IO
Angular2 with TypeScript
The Ring programming language version 1.5.2 book - Part 176 of 181
Angular kickstart slideshare
Angular2 compiler
Ad

More from Foyzul Karim (11)

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

Recently uploaded (20)

PDF
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
assetexplorer- product-overview - presentation
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
17 Powerful Integrations Your Next-Gen MLM Software Needs
PPTX
L1 - Introduction to python Backend.pptx
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Transform Your Business with a Software ERP System
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
Download FL Studio Crack Latest version 2025 ?
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
assetexplorer- product-overview - presentation
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
Internet Downloader Manager (IDM) Crack 6.42 Build 41
17 Powerful Integrations Your Next-Gen MLM Software Needs
L1 - Introduction to python Backend.pptx
Design an Analysis of Algorithms I-SECS-1021-03
Transform Your Business with a Software ERP System
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Computer Software and OS of computer science of grade 11.pptx
Operating system designcfffgfgggggggvggggggggg
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Odoo Companies in India – Driving Business Transformation.pdf
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Design an Analysis of Algorithms II-SECS-1021-03
Salesforce Agentforce AI Implementation.pdf
Download FL Studio Crack Latest version 2025 ?

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]