SlideShare a Scribd company logo
What's New in Angular 4 | Angular 4 Features | Angular 4 Changes | Angular Tutorial | Edureka
EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js
Agenda
Angular Releases
1
Why not Angular 3 ?
2
It’s just Angular!!!
3
What’s new???
4
Demo
5
EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js
Angular 4
EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js
Angular 4 Coming into Picture …
• Changing from version 2 to version 4 … won’t be like changing from Angular 1
• It will simply be a change in some core libraries that demand a major SEMVER version change
• There will be proper deprecation phases to allow developers to adjust their code
X . Y . Z
Semantic Versioning
Major Change
Minor Change
Patch Update
Back in September, the Angular team also announced they will switch to Semantic Versioning (SEMVER)
EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js
Tentative Release Schedule
The Angular team committed to time based releases that occur in three cycles:
• patch releases every week
• 3 monthly minor release after each major release
• a major release with easy-to-migrate-over breaking changes every 6 months
EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js
Why not Angular 3?
• Due to this misalignment of the router package’s version, the team decided to go straight for Angular v4
• In this way again, all the core packages are aligned which (easier to maintain and avoid confusion in future)
• The core Angular libraries are all versioned the same way except routes
Modules Version 2
Router Version 3
So… they decided to go with Angular 4
EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js
It’s Just Angular
Team announced that from now on, you should address Angular versions 2.0.0 or later as simply “Angular”… #ItIsJustAngular
Angular adopted Semantic Versioning and is backwards compatible with 2.x.x
Even upgrading TypeScript dependency from v1.8 to v2.1/v2.2 and compile Angular with it, would cause a breaking change
EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js
Angular 4: What’s New ? ? ?
EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js
Animation
*ngIf & *ngFor
Form Features
TypeScript
Compatibility
Source Maps
Packaging Changes
Functions
Smaller & Faster
www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING
Smaller & Faster
View Engine
• Changes were done under the hood to what AOT generated code looks like
• Purpose is to reduce the size of the generated code for app components by averagely 60 percent
• During the candidate period release, many developers that migrated to 4, reduced their production
bundles by hundreds of kilobytes
Angular 2
Bundle
Angular 4
Bundle
100x
40x
Smaller & Faster
Animation
*ngIf & *ngFor
Form Features
www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING
Animation
Animation Package
• Angular team has pulled animations out of @angular/core and into their own package
• Add animations to main NgModule by importing BrowserAnimationsModule from @angular/platform-
browser/animations
Animation Module
Importing Properties
Smaller & Faster
Animation
*ngIf & *ngFor
Form Features
www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING
*ngIf & *ngFor
Enhanced *ngIf and *ngFor
The template binding syntax now supports a couple helpful changes:
• You can now use an if/else style syntax
• Assign local variables such as when unrolling an observable
Else Statement
Loading block
Smaller & Faster
Animation
*ngIf & *ngFor
Form Features
www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING
Form Features
Email type input
New features in Forms
Now you have email validator in forms to validate email instead of using pattern.Smaller & Faster
Animation
*ngIf & *ngFor
Form Features
www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING
TypeScript Compatibility
TypeScript 2.1 and 2.2 compatibility:
• Angular has also been updated to a more recent version of TypeScript
• This improves the speed of ngc and users will get better type checking throughout your application
TypeScript
Compatibility
Source Maps
Packaging
Changes
Upgrade to
Angular 4
www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING
Source Maps
l
Whenever an error occurs in one of templates, source maps are generated with
meaningful context in terms of the original template
Template
< >
Updated Template
< >
Changes
Errors
source maps are
generated with a
meaningful context
in terms of the
original template
TypeScript
Compatibility
Source Maps
Packaging
Changes
Upgrade to
Angular 4
www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING
Packaging Changes
Packaging Changes
Flat ES Modules (Flat ESM / FESM)
• Angular now ship flattened versions of modules
• It helps in tree-shaking, reducing the size of your generated bundles, and speed up build,
transpilation and loading
Experimental ES2015 Builds
• Angular now also ship packages in the ES2015 Flat ESM format
• This option is experimental and opt-in.
• Developers have reported up to 7% bundle size savings when combining these packages with
Rollup
TypeScript
Compatibility
Source Maps
Packaging
Changes
Upgrade to
Angular 4
www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING
Upgrade to Angular 4
Ready to upgrade 4.0.0
• Updating to 4 is easy
• This will work for most use cases
TypeScript
Compatibility
Source Maps
Packaging Changes
Upgrade to
Angular 4
www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING
Creating Angular 4 Application
Create an app in v4!
Use ng new command along with --ng4 option to create a new app
EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js
Upgrading Angular Application
EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js
Thank You …
Questions/Queries/Feedback

More Related Content

PPSX
Angular 4 fronts
badal dubla
 
PDF
Angular 4 Tutorial | What's New In Angular 4 | Angular Training | Edureka
Edureka!
 
PPTX
Angular 4 - quick view
Michael Haberman
 
PPTX
An Overview of Angular 4
Cynoteck Technology Solutions Private Limited
 
PDF
Angular Meetup 1 - Angular Basics and Workshop
Nitin Bhojwani
 
PDF
Angular 2 Training | Angular 2 Tutorial For Beginners | Angular Certification...
Edureka!
 
ODP
A Glimpse on Angular 4
Sam Dias
 
PDF
Angular Routing Tutorial | AngularJS vs Angular Router | Angular Training | E...
Edureka!
 
Angular 4 fronts
badal dubla
 
Angular 4 Tutorial | What's New In Angular 4 | Angular Training | Edureka
Edureka!
 
Angular 4 - quick view
Michael Haberman
 
Angular Meetup 1 - Angular Basics and Workshop
Nitin Bhojwani
 
Angular 2 Training | Angular 2 Tutorial For Beginners | Angular Certification...
Edureka!
 
A Glimpse on Angular 4
Sam Dias
 
Angular Routing Tutorial | AngularJS vs Angular Router | Angular Training | E...
Edureka!
 

What's hot (20)

PDF
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
Edureka!
 
ODP
Angular 6 - The Complete Guide
Sam Dias
 
PDF
Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...
Edureka!
 
PDF
Angular, the New Angular JS
Kenzan
 
PDF
Developing a Demo Application with Angular 4 - J2I
Nader Debbabi
 
PPTX
Talk for DevFest 2021 - GDG Bénin
Ezéchiel Amen AGBLA
 
PPTX
Angular 9 New features
Ahmed Bouchefra
 
PPTX
Go live with angular 4
Indra Gunawan
 
PDF
What is Angular version 4?
Troy Miles
 
PPTX
Angular 4 Introduction Tutorial
Scott Lee
 
PDF
Angular 2 Examples | Angular CRUD Application | Angular Tutorial | Angular Tr...
Edureka!
 
PDF
Introduction to angular 2
Dhyego Fernando
 
PDF
Learn Angular 9/8 In Easy Steps
Ahmed Bouchefra
 
PPTX
Dive into Angular, part 4: Angular 2.0
Oleksii Prohonnyi
 
PDF
Quick introduction to Angular 4 for AngularJS 1.5 developers
Paweł Żurowski
 
PDF
What angular 13 will bring to the table
Moon Technolabs Pvt. Ltd.
 
PDF
Meetup SkillValue - Angular 6 : Bien démarrer son application
Thibault Even
 
PDF
Angular2 - getting-ready
Nir Kaufman
 
PDF
Angular 2 - Core Concepts
Fabio Biondi
 
PPTX
Angular 9
Raja Vishnu
 
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
Edureka!
 
Angular 6 - The Complete Guide
Sam Dias
 
Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...
Edureka!
 
Angular, the New Angular JS
Kenzan
 
Developing a Demo Application with Angular 4 - J2I
Nader Debbabi
 
Talk for DevFest 2021 - GDG Bénin
Ezéchiel Amen AGBLA
 
Angular 9 New features
Ahmed Bouchefra
 
Go live with angular 4
Indra Gunawan
 
What is Angular version 4?
Troy Miles
 
Angular 4 Introduction Tutorial
Scott Lee
 
Angular 2 Examples | Angular CRUD Application | Angular Tutorial | Angular Tr...
Edureka!
 
Introduction to angular 2
Dhyego Fernando
 
Learn Angular 9/8 In Easy Steps
Ahmed Bouchefra
 
Dive into Angular, part 4: Angular 2.0
Oleksii Prohonnyi
 
Quick introduction to Angular 4 for AngularJS 1.5 developers
Paweł Żurowski
 
What angular 13 will bring to the table
Moon Technolabs Pvt. Ltd.
 
Meetup SkillValue - Angular 6 : Bien démarrer son application
Thibault Even
 
Angular2 - getting-ready
Nir Kaufman
 
Angular 2 - Core Concepts
Fabio Biondi
 
Angular 9
Raja Vishnu
 
Ad

Similar to What's New in Angular 4 | Angular 4 Features | Angular 4 Changes | Angular Tutorial | Edureka (20)

PDF
Angular 4 Tutorial For Beginners | Angular 4 Introduction | Angular 4 Trainin...
Edureka!
 
PDF
Angular4 tutorial
HarikaReddy115
 
PDF
Myths of Angular 2: What Angular Really Is
DevFest DC
 
PPTX
Popularity career growth and salary of angular covered in an angular certifi...
FelixAnderson11
 
PPTX
Angular 2
Travis van der Font
 
PDF
Evolution and History of Angular as Web Development Platform.pdf
iFour Technolab Pvt. Ltd.
 
PPTX
Angular
sridhiya
 
PDF
Brief introduction to Angular 2.0 & 4.0
Nisheed Jagadish
 
PDF
Introduction-to-Angular-Language.pdf
PriyalKaur
 
PDF
AngularJS : Superheroic Javascript MVW Framework
Edureka!
 
PDF
Angular JS - Develop Responsive Single Page Application
Edureka!
 
PDF
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Edureka!
 
PDF
AngularJS : Superheroic JavaScript MVW Framework
Edureka!
 
PDF
Neoito — A roadmap to Angular
Neoito
 
PDF
Angular JS 2_0 BCS CTO_in_Res V3
Bruce Pentreath
 
PPTX
Introduction to Angular 2
valuebound
 
PDF
Angular version 10 is here check out the new features, notable changes, depr...
Katy Slemon
 
PDF
Angular 2 - How we got here?
Marios Fakiolas
 
PDF
Adventures with Angular 2
Dragos Ionita
 
PDF
Angular11 exciting new features and updates
Shelly Megan
 
Angular 4 Tutorial For Beginners | Angular 4 Introduction | Angular 4 Trainin...
Edureka!
 
Angular4 tutorial
HarikaReddy115
 
Myths of Angular 2: What Angular Really Is
DevFest DC
 
Popularity career growth and salary of angular covered in an angular certifi...
FelixAnderson11
 
Evolution and History of Angular as Web Development Platform.pdf
iFour Technolab Pvt. Ltd.
 
Angular
sridhiya
 
Brief introduction to Angular 2.0 & 4.0
Nisheed Jagadish
 
Introduction-to-Angular-Language.pdf
PriyalKaur
 
AngularJS : Superheroic Javascript MVW Framework
Edureka!
 
Angular JS - Develop Responsive Single Page Application
Edureka!
 
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Edureka!
 
AngularJS : Superheroic JavaScript MVW Framework
Edureka!
 
Neoito — A roadmap to Angular
Neoito
 
Angular JS 2_0 BCS CTO_in_Res V3
Bruce Pentreath
 
Introduction to Angular 2
valuebound
 
Angular version 10 is here check out the new features, notable changes, depr...
Katy Slemon
 
Angular 2 - How we got here?
Marios Fakiolas
 
Adventures with Angular 2
Dragos Ionita
 
Angular11 exciting new features and updates
Shelly Megan
 
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
PDF
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
PDF
Tableau Tutorial for Data Science | Edureka
Edureka!
 
PDF
Python Programming Tutorial | Edureka
Edureka!
 
PDF
Top 5 PMP Certifications | Edureka
Edureka!
 
PDF
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
PDF
Linux Mint Tutorial | Edureka
Edureka!
 
PDF
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
PDF
Importance of Digital Marketing | Edureka
Edureka!
 
PDF
RPA in 2020 | Edureka
Edureka!
 
PDF
Email Notifications in Jenkins | Edureka
Edureka!
 
PDF
EA Algorithm in Machine Learning | Edureka
Edureka!
 
PDF
Cognitive AI Tutorial | Edureka
Edureka!
 
PDF
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
PDF
Blue Prism Top Interview Questions | Edureka
Edureka!
 
PDF
Big Data on AWS Tutorial | Edureka
Edureka!
 
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
PDF
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
PDF
Introduction to DevOps | Edureka
Edureka!
 
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Edureka!
 

Recently uploaded (20)

PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 

What's New in Angular 4 | Angular 4 Features | Angular 4 Changes | Angular Tutorial | Edureka

  • 2. EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js Agenda Angular Releases 1 Why not Angular 3 ? 2 It’s just Angular!!! 3 What’s new??? 4 Demo 5
  • 3. EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js Angular 4
  • 4. EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js Angular 4 Coming into Picture … • Changing from version 2 to version 4 … won’t be like changing from Angular 1 • It will simply be a change in some core libraries that demand a major SEMVER version change • There will be proper deprecation phases to allow developers to adjust their code X . Y . Z Semantic Versioning Major Change Minor Change Patch Update Back in September, the Angular team also announced they will switch to Semantic Versioning (SEMVER)
  • 5. EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js Tentative Release Schedule The Angular team committed to time based releases that occur in three cycles: • patch releases every week • 3 monthly minor release after each major release • a major release with easy-to-migrate-over breaking changes every 6 months
  • 6. EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js Why not Angular 3? • Due to this misalignment of the router package’s version, the team decided to go straight for Angular v4 • In this way again, all the core packages are aligned which (easier to maintain and avoid confusion in future) • The core Angular libraries are all versioned the same way except routes Modules Version 2 Router Version 3 So… they decided to go with Angular 4
  • 7. EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js It’s Just Angular Team announced that from now on, you should address Angular versions 2.0.0 or later as simply “Angular”… #ItIsJustAngular Angular adopted Semantic Versioning and is backwards compatible with 2.x.x Even upgrading TypeScript dependency from v1.8 to v2.1/v2.2 and compile Angular with it, would cause a breaking change
  • 8. EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js Angular 4: What’s New ? ? ?
  • 9. EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js Animation *ngIf & *ngFor Form Features TypeScript Compatibility Source Maps Packaging Changes Functions Smaller & Faster
  • 10. www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING Smaller & Faster View Engine • Changes were done under the hood to what AOT generated code looks like • Purpose is to reduce the size of the generated code for app components by averagely 60 percent • During the candidate period release, many developers that migrated to 4, reduced their production bundles by hundreds of kilobytes Angular 2 Bundle Angular 4 Bundle 100x 40x Smaller & Faster Animation *ngIf & *ngFor Form Features
  • 11. www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING Animation Animation Package • Angular team has pulled animations out of @angular/core and into their own package • Add animations to main NgModule by importing BrowserAnimationsModule from @angular/platform- browser/animations Animation Module Importing Properties Smaller & Faster Animation *ngIf & *ngFor Form Features
  • 12. www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING *ngIf & *ngFor Enhanced *ngIf and *ngFor The template binding syntax now supports a couple helpful changes: • You can now use an if/else style syntax • Assign local variables such as when unrolling an observable Else Statement Loading block Smaller & Faster Animation *ngIf & *ngFor Form Features
  • 13. www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING Form Features Email type input New features in Forms Now you have email validator in forms to validate email instead of using pattern.Smaller & Faster Animation *ngIf & *ngFor Form Features
  • 14. www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING TypeScript Compatibility TypeScript 2.1 and 2.2 compatibility: • Angular has also been updated to a more recent version of TypeScript • This improves the speed of ngc and users will get better type checking throughout your application TypeScript Compatibility Source Maps Packaging Changes Upgrade to Angular 4
  • 15. www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING Source Maps l Whenever an error occurs in one of templates, source maps are generated with meaningful context in terms of the original template Template < > Updated Template < > Changes Errors source maps are generated with a meaningful context in terms of the original template TypeScript Compatibility Source Maps Packaging Changes Upgrade to Angular 4
  • 16. www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING Packaging Changes Packaging Changes Flat ES Modules (Flat ESM / FESM) • Angular now ship flattened versions of modules • It helps in tree-shaking, reducing the size of your generated bundles, and speed up build, transpilation and loading Experimental ES2015 Builds • Angular now also ship packages in the ES2015 Flat ESM format • This option is experimental and opt-in. • Developers have reported up to 7% bundle size savings when combining these packages with Rollup TypeScript Compatibility Source Maps Packaging Changes Upgrade to Angular 4
  • 17. www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING Upgrade to Angular 4 Ready to upgrade 4.0.0 • Updating to 4 is easy • This will work for most use cases TypeScript Compatibility Source Maps Packaging Changes Upgrade to Angular 4
  • 18. www.edureka.co/angular-jsEDUREKA ANGULAR CERTIFICATION TRAINING Creating Angular 4 Application Create an app in v4! Use ng new command along with --ng4 option to create a new app
  • 19. EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js Upgrading Angular Application
  • 20. EDUREKA ANGULAR CERTIFICATION TRAINING www.edureka.co/angular-js Thank You … Questions/Queries/Feedback