SlideShare a Scribd company logo
Angular2
New World of
Angular 2
1
CloudCherry 4th Feb
Introduction - ngCrud Angular2
Little about Myself
2
Rahat Khanna
@mappmechanic
Bangalore
Front End Dev Blogger Author
appsonmob.com
airpair.com
packtpub.com/blog
pluralsight.org
Introduction - ngCrud Angular2
Agenda
3
1. Discuss about Web, Front End
Frameworks and Angular2
2. Latest News around Angular 2 &
its Toolset - Universal, Mobile, CLI,
Windows
Some Cool Demos & Show off
for Angular 2 by Awesome Devs
Introduction - ngCrud Angular2
Evolution of Web
4
1993 - 1997: Static
HTML Websites, GIFs,
Minimal Javascript and
DHTML
1995 - 2002: Dynamic Web
Pages, Server Side
Programming - CGI, Perl,
PHP, JSP, Java
2002-2007: CMS Systems
like Wordpress, Drupal,
Joomla etc - HTML4, Initial
Ajax, Canvas, Web Fonts
2008-2012: RIA Apps,
Client Server Apps, CSS3,
Animations, Offline,
Responsive Design
2012-2014: Cloud
Apps - Salesforce,
Google Drive, MS
Office 360, Paypal
2015-2016: User Experience -
Front End MVC, Single Page
Apps - Angular, React, Node,
Nginx, IOT, Smartwatches
Introduction - ngCrud Angular2
SPA
App Like User Experience

More Robust Client Side Logic

Navigation History Should be Maintained

Support Offline

Dynamic Templating & Data Binding

Fluid Transitions & Nested Views

SPA - History - Angular 1.5
5
AngularJS 1.X
Two way Data Binding
Directives
Templates
MVC or MV*
Dependency Injection

• Lifecycle of Angular 1 app is
complex
• Scope Inheritance & Access
to Parent Scope Directly
• Painstaking Digest Cycle and
$apply method
• Name based dependency
injection
• Excessive Watchers if your
apps Scales to complex
scenarios
• No inbuilt Nested Routing
• ng-if & ng-repeat - the
Culprits
Introduction - ngCrud Angular2
Intro to Angular2
6
Develop Across All Platforms
2.1.0-rc Released
Speed & Performance
Web Workers, Server Side Rendering, Robust Data
Modeling - RxJS, GraphQL, ImmutableJS, Redux
Web, Mobile Web, Smartwatches, Native
Mobile, Desktop - Electron, Native Script
Incredible Tooling Loved by Millions
CLI, Simple Declarative Templates,
Chrome Dev Extensions, Development
Server, Static Code Analyzer
Adoption by Tech Giants & Corporates,
Awesome Communities like Angular
Beers, Angular Connect, Angular Camp,
Angular Air, Extensive IDEs Support
Introduction - ngCrud Angular2
Tech Stack
Introduction - ngCrud Angular2
Dev Environment Setup
8
Step1: 

Install NodeJS & NPM for managing dependencies.
Step2: 

Install npm dependencies using package.json or npm install
commands - angular2, systemjs, es6-promise, es6-shim, rxjs,
zone.js
Step3: 

Configure Typescript configurations using a file tsconfig.json
Step4: 

Load Typescript typings for ES6 in a file named typings.json
OLD
Introduction - ngCrud Angular2
Angular CLI
9
• Easy to Use with simple
Commands
• NPM Based
• Create an App with All Boilerplate
• Generate Components, Routes,
Services, Pipes etc.
• Automatically generate Simple
Test Shells & E2E Tests
• Run Dev Server
Introduction - ngCrud Angular2
Angular Universal
10
• NodeJS & Express Integration
• ASP.net Support Also Possible
• Server Side Initial Rendering
• Improves SEO
• Fastest Critical/First Render
• Better Perceived
Performance
• Initial Data Loaded with the
Page itself
Example: http://site-map-success.herokuapp.com/
Introduction - ngCrud Angular2
Angular Mobile & PWA
11
• Performance of native,
discoverability of the Web
• Automatic Progressive Web Apps
$ ng new hello-mobile --mobile
• Cross Platform Support
https://github.com/jelbourn/
material2-app.git
Introduction - ngCrud Angular2
Angular 2 Speed & Performance
12
• Change Detection
• Code Splitting
• Code-splitting enables users to only load code
required to render the view they request.
• Code generation - CLI, Server Rendering, Ahead of
Time Compilation
• Faster Rendering
• Fewer Asynchronous Requests
• Smaller Angular framework download size
• Using Tree Shaking
Introduction - ngCrud Angular2
Angular 2 Data Libraries
13
Angular 2 - Redux
Introduction - ngCrud Angular2
Angular 2 Cross Platform
14
Native Script for
Angular 2 by
Telerik
Ionic 2 with
Angular 2
React Native with Angular 2
https://github.com/preboot/angular2-
universal-windows-app
Electron Angular 2
Introduction - ngCrud Angular2
Angular 2 Component
15
import {bootstrap} from 'angular2/platform/browser';
import {Component} from 'angular2/core';
@Component({
selector: 'app',
template:`<input type='text' placeholder= "Enter first name
" [(ngModel)] = "firstName">
<br>Hello {{firstName}} `
})
class GreetingComponent {
firstName: string;
lastName: string;
}
bootstrap(GreetingComponent);
Introduction - ngCrud Angular2
Angular 2 Hands-On
16
Most popular use case for any App
- CRUD APP
- List of Model Objects
- Show/Hide Details
- Add New Model Object
Angular2 17
Thanks
mAppMechanic
twitter.com/mAppMechanic
linkedin.com/in/rahatkh
yehtechnologies@gmail.com
17

More Related Content

What's hot (20)

PDF
Angular 2 vs React. What to chose in 2017?
TechMagic
 
PPTX
Server side rendering review
Vladyslav Morzhanov
 
PDF
Clojure web dev history
Ikuru Kanuma
 
PDF
MEAN Stack WeNode Barcelona Workshop
Valeri Karpov
 
PDF
The MEAN stack - SoCalCodeCamp - june 29th 2014
Simona Clapan
 
PPTX
Angular CLI : HelloWorld
nikspatel007
 
PDF
Angular meetup 2 2019-08-29
Nitin Bhojwani
 
PPT
Nodejs - Building a RESTful API
Sang Cù
 
PPTX
MEAN stack
Iryney Baran
 
PPTX
Mean PPT
Harendra Singh Bisht
 
PDF
Angular 2 - Core Concepts
Fabio Biondi
 
PPTX
The Saga of JavaScript and TypeScript: Part 1
Haci Murat Yaman
 
PPTX
JS digest. February 2017
ElifTech
 
PDF
NodeSummit - MEAN Stack
Valeri Karpov
 
PPTX
MongoDB Days Silicon Valley: Building Applications with the MEAN Stack
MongoDB
 
PPSX
Server Side Rendering, caching and performance
Ateev Chopra
 
PPTX
Gdg ionic 2
Shang Yi Lim
 
PPTX
Ionic 2 - Introduction
Stiliyan Kanchev
 
PDF
Angular 2 vs React
Iran Reyes Fleitas
 
Angular 2 vs React. What to chose in 2017?
TechMagic
 
Server side rendering review
Vladyslav Morzhanov
 
Clojure web dev history
Ikuru Kanuma
 
MEAN Stack WeNode Barcelona Workshop
Valeri Karpov
 
The MEAN stack - SoCalCodeCamp - june 29th 2014
Simona Clapan
 
Angular CLI : HelloWorld
nikspatel007
 
Angular meetup 2 2019-08-29
Nitin Bhojwani
 
Nodejs - Building a RESTful API
Sang Cù
 
MEAN stack
Iryney Baran
 
Angular 2 - Core Concepts
Fabio Biondi
 
The Saga of JavaScript and TypeScript: Part 1
Haci Murat Yaman
 
JS digest. February 2017
ElifTech
 
NodeSummit - MEAN Stack
Valeri Karpov
 
MongoDB Days Silicon Valley: Building Applications with the MEAN Stack
MongoDB
 
Server Side Rendering, caching and performance
Ateev Chopra
 
Gdg ionic 2
Shang Yi Lim
 
Ionic 2 - Introduction
Stiliyan Kanchev
 
Angular 2 vs React
Iran Reyes Fleitas
 

Viewers also liked (14)

PDF
Web Components: Rethinking Web App Development
Lukáš Fryč
 
PDF
MAppMechanic CodeLabs - PolymerJS Advanced Topics for Custom Elements
Rahat Khanna a.k.a mAppMechanic
 
PDF
MAppMechanic CodeLabs - PolymerJS Introduction
Rahat Khanna a.k.a mAppMechanic
 
PDF
Web components are the future of the web - Take advantage of new web technolo...
Marios Fakiolas
 
PDF
Intro to Web Components, Polymer & Vaadin Elements
Manuel Carrasco Moñino
 
PDF
PolymerJS 開發實戰
益祥 許
 
PPTX
Angular2 / Typescript symposium Versusmind
Philippe Didiergeorges
 
PDF
MAppMechanic CodeLabs - PolymerJS Custom Elements
Rahat Khanna a.k.a mAppMechanic
 
PPTX
How to Upgrade Angular 1 to Angular 2 - Piece by Piece
Christopher T. Walrath
 
PDF
Data models in Angular 1 & 2
Adam Klein
 
PPTX
Migrating an Application from Angular 1 to Angular 2
Ross Dederer
 
PPTX
Angular 2 vs Angular 1
GDG Odessa
 
ODP
Introduction to Angular 2
Knoldus Inc.
 
PPTX
Angular 2 KTS
John Vall
 
Web Components: Rethinking Web App Development
Lukáš Fryč
 
MAppMechanic CodeLabs - PolymerJS Advanced Topics for Custom Elements
Rahat Khanna a.k.a mAppMechanic
 
MAppMechanic CodeLabs - PolymerJS Introduction
Rahat Khanna a.k.a mAppMechanic
 
Web components are the future of the web - Take advantage of new web technolo...
Marios Fakiolas
 
Intro to Web Components, Polymer & Vaadin Elements
Manuel Carrasco Moñino
 
PolymerJS 開發實戰
益祥 許
 
Angular2 / Typescript symposium Versusmind
Philippe Didiergeorges
 
MAppMechanic CodeLabs - PolymerJS Custom Elements
Rahat Khanna a.k.a mAppMechanic
 
How to Upgrade Angular 1 to Angular 2 - Piece by Piece
Christopher T. Walrath
 
Data models in Angular 1 & 2
Adam Klein
 
Migrating an Application from Angular 1 to Angular 2
Ross Dederer
 
Angular 2 vs Angular 1
GDG Odessa
 
Introduction to Angular 2
Knoldus Inc.
 
Angular 2 KTS
John Vall
 
Ad

Similar to New World of Angular (v2+) (20)

PPTX
WebDev Simplified React.js.pptx
SarikaPurohit1
 
PPTX
The next step from Microsoft - Vnext (Srdjan Poznic)
Geekstone
 
PPTX
Why choose Angular 6?
Priyanka Verma
 
PDF
Brief introduction to Angular 2.0 & 4.0
Nisheed Jagadish
 
PPTX
ASP .Net Core SPA Templates
Eamonn Boyle
 
PDF
Angular, the New Angular JS
Kenzan
 
PPTX
Presentation on angular 5
Ramesh Adhikari
 
PPTX
Angular 2.0
Mallikarjuna G D
 
PDF
Introduction to node js - From "hello world" to deploying on azure
Colin Mackay
 
PDF
Appcelerator Titanium Alloy
Karthi Ponnusamy
 
PDF
Appcelerator Titanium Alloy
karthi-anubavam
 
PDF
Web componenet using angular element
Himanshu Tamrakar
 
PDF
Beginning MEAN Stack
Rob Davarnia
 
PDF
JSFest 2019: Technology agnostic microservices at SPA frontend
Vlad Fedosov
 
PPTX
Building Applications With the MEAN Stack
Nir Noy
 
PPTX
Angular Universal
Janet Maldonado
 
PPTX
Angular, ASP.NET Core, and Visual Studio Code - Oh My!
Aaron Marisi
 
DOCX
Vitaliy Kryvonos_CV_up
Vitaliy Kryvonos
 
PPTX
Angular4 getting started
TejinderMakkar
 
PPTX
Angular js workshop
Rolands Krumbergs
 
WebDev Simplified React.js.pptx
SarikaPurohit1
 
The next step from Microsoft - Vnext (Srdjan Poznic)
Geekstone
 
Why choose Angular 6?
Priyanka Verma
 
Brief introduction to Angular 2.0 & 4.0
Nisheed Jagadish
 
ASP .Net Core SPA Templates
Eamonn Boyle
 
Angular, the New Angular JS
Kenzan
 
Presentation on angular 5
Ramesh Adhikari
 
Angular 2.0
Mallikarjuna G D
 
Introduction to node js - From "hello world" to deploying on azure
Colin Mackay
 
Appcelerator Titanium Alloy
Karthi Ponnusamy
 
Appcelerator Titanium Alloy
karthi-anubavam
 
Web componenet using angular element
Himanshu Tamrakar
 
Beginning MEAN Stack
Rob Davarnia
 
JSFest 2019: Technology agnostic microservices at SPA frontend
Vlad Fedosov
 
Building Applications With the MEAN Stack
Nir Noy
 
Angular Universal
Janet Maldonado
 
Angular, ASP.NET Core, and Visual Studio Code - Oh My!
Aaron Marisi
 
Vitaliy Kryvonos_CV_up
Vitaliy Kryvonos
 
Angular4 getting started
TejinderMakkar
 
Angular js workshop
Rolands Krumbergs
 
Ad

More from Rahat Khanna a.k.a mAppMechanic (12)

PDF
Introduction to React Native & Rendering Charts / Graphs
Rahat Khanna a.k.a mAppMechanic
 
PDF
Angular Observables & RxJS Introduction
Rahat Khanna a.k.a mAppMechanic
 
PDF
MAppMechanic CodeLabs - PolymerJS Elements - Paper, Gold, Neon, Platinum, Mol...
Rahat Khanna a.k.a mAppMechanic
 
Introduction to React Native & Rendering Charts / Graphs
Rahat Khanna a.k.a mAppMechanic
 
Angular Observables & RxJS Introduction
Rahat Khanna a.k.a mAppMechanic
 
MAppMechanic CodeLabs - PolymerJS Elements - Paper, Gold, Neon, Platinum, Mol...
Rahat Khanna a.k.a mAppMechanic
 

Recently uploaded (20)

PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 

New World of Angular (v2+)

  • 1. Angular2 New World of Angular 2 1 CloudCherry 4th Feb
  • 2. Introduction - ngCrud Angular2 Little about Myself 2 Rahat Khanna @mappmechanic Bangalore Front End Dev Blogger Author appsonmob.com airpair.com packtpub.com/blog pluralsight.org
  • 3. Introduction - ngCrud Angular2 Agenda 3 1. Discuss about Web, Front End Frameworks and Angular2 2. Latest News around Angular 2 & its Toolset - Universal, Mobile, CLI, Windows Some Cool Demos & Show off for Angular 2 by Awesome Devs
  • 4. Introduction - ngCrud Angular2 Evolution of Web 4 1993 - 1997: Static HTML Websites, GIFs, Minimal Javascript and DHTML 1995 - 2002: Dynamic Web Pages, Server Side Programming - CGI, Perl, PHP, JSP, Java 2002-2007: CMS Systems like Wordpress, Drupal, Joomla etc - HTML4, Initial Ajax, Canvas, Web Fonts 2008-2012: RIA Apps, Client Server Apps, CSS3, Animations, Offline, Responsive Design 2012-2014: Cloud Apps - Salesforce, Google Drive, MS Office 360, Paypal 2015-2016: User Experience - Front End MVC, Single Page Apps - Angular, React, Node, Nginx, IOT, Smartwatches
  • 5. Introduction - ngCrud Angular2 SPA App Like User Experience More Robust Client Side Logic Navigation History Should be Maintained Support Offline Dynamic Templating & Data Binding Fluid Transitions & Nested Views SPA - History - Angular 1.5 5 AngularJS 1.X Two way Data Binding Directives Templates MVC or MV* Dependency Injection • Lifecycle of Angular 1 app is complex • Scope Inheritance & Access to Parent Scope Directly • Painstaking Digest Cycle and $apply method • Name based dependency injection • Excessive Watchers if your apps Scales to complex scenarios • No inbuilt Nested Routing • ng-if & ng-repeat - the Culprits
  • 6. Introduction - ngCrud Angular2 Intro to Angular2 6 Develop Across All Platforms 2.1.0-rc Released Speed & Performance Web Workers, Server Side Rendering, Robust Data Modeling - RxJS, GraphQL, ImmutableJS, Redux Web, Mobile Web, Smartwatches, Native Mobile, Desktop - Electron, Native Script Incredible Tooling Loved by Millions CLI, Simple Declarative Templates, Chrome Dev Extensions, Development Server, Static Code Analyzer Adoption by Tech Giants & Corporates, Awesome Communities like Angular Beers, Angular Connect, Angular Camp, Angular Air, Extensive IDEs Support
  • 7. Introduction - ngCrud Angular2 Tech Stack
  • 8. Introduction - ngCrud Angular2 Dev Environment Setup 8 Step1: 
 Install NodeJS & NPM for managing dependencies. Step2: 
 Install npm dependencies using package.json or npm install commands - angular2, systemjs, es6-promise, es6-shim, rxjs, zone.js Step3: 
 Configure Typescript configurations using a file tsconfig.json Step4: 
 Load Typescript typings for ES6 in a file named typings.json OLD
  • 9. Introduction - ngCrud Angular2 Angular CLI 9 • Easy to Use with simple Commands • NPM Based • Create an App with All Boilerplate • Generate Components, Routes, Services, Pipes etc. • Automatically generate Simple Test Shells & E2E Tests • Run Dev Server
  • 10. Introduction - ngCrud Angular2 Angular Universal 10 • NodeJS & Express Integration • ASP.net Support Also Possible • Server Side Initial Rendering • Improves SEO • Fastest Critical/First Render • Better Perceived Performance • Initial Data Loaded with the Page itself Example: http://site-map-success.herokuapp.com/
  • 11. Introduction - ngCrud Angular2 Angular Mobile & PWA 11 • Performance of native, discoverability of the Web • Automatic Progressive Web Apps $ ng new hello-mobile --mobile • Cross Platform Support https://github.com/jelbourn/ material2-app.git
  • 12. Introduction - ngCrud Angular2 Angular 2 Speed & Performance 12 • Change Detection • Code Splitting • Code-splitting enables users to only load code required to render the view they request. • Code generation - CLI, Server Rendering, Ahead of Time Compilation • Faster Rendering • Fewer Asynchronous Requests • Smaller Angular framework download size • Using Tree Shaking
  • 13. Introduction - ngCrud Angular2 Angular 2 Data Libraries 13 Angular 2 - Redux
  • 14. Introduction - ngCrud Angular2 Angular 2 Cross Platform 14 Native Script for Angular 2 by Telerik Ionic 2 with Angular 2 React Native with Angular 2 https://github.com/preboot/angular2- universal-windows-app Electron Angular 2
  • 15. Introduction - ngCrud Angular2 Angular 2 Component 15 import {bootstrap} from 'angular2/platform/browser'; import {Component} from 'angular2/core'; @Component({ selector: 'app', template:`<input type='text' placeholder= "Enter first name " [(ngModel)] = "firstName"> <br>Hello {{firstName}} ` }) class GreetingComponent { firstName: string; lastName: string; } bootstrap(GreetingComponent);
  • 16. Introduction - ngCrud Angular2 Angular 2 Hands-On 16 Most popular use case for any App - CRUD APP - List of Model Objects - Show/Hide Details - Add New Model Object