Angular 2 was designed to work with TypeScript, which is a superset of ES6. In this video, we will explore what will happen in the future when those languages evolve.
- [Narrator] Now we move on to the second video…Of this section where we're going to talk about…The Future of TypeScript and ES6.…Obviously, I do not have a crystal ball,…so I can't really predict the future.…Yet, we are going to see where ES6 is going,…and understand why TypeScript takes…a lot of the complexity away from us.…Using TypeScript in our application…will make a lot of sense.…Lets talk about the future of ES6.…As you may know ES6 is typically…not supported by all browsers.…
Lets see how much of it is actually supported right now.…So the best browser so far is Chrome 49.…Which supports 91% of ES6 features.…On the other hand, we have IE 11…that only supports 15% of it.…Both Edge and Firefox are in the 80-90% range.…Which is good, but still not 100%.…As a conclusion, ES6 is still not…fully supported by any web browser on the market.…
Angular 2 is a technical and conceptual overhaul of its hugely popular predecessor, AngularJS. To stay ahead, developers who have built and maintained projects with AngularJS need to be able to transition them to Angular 2. Migrating to Angular 2 demonstrates how to create and execute an effective migration plan for Angular applications. It opens with an introduction to the major changes and additions brought by the new framework. Then author Alain Chautard reviews a plan to migrate a sample weather application from its original Angular 1.x codebase.
Learn how to migrate blocks of code incrementally, as opposed to porting code in bulk, and get a brief introduction to TypeScript and ECMAScript 6. Along the way, Alain shows you how to gradually deprecate $scope, upgrade services, work with the component router, transition forms, and more.
By the end of this course, you'll be up to speed with the fundamental building blocks of Angular 2 development, and fully capable (and confident) transitioning existing Angular 1.x projects to the new environment, ready to explore everything that Angular 2 has to offer.
- What's new in Angular 2?
- Migrating incrementally
- What are TypeScript and ES6?
- Cleaning up $scopes
- Making components
- Using TypeScript classes
- Upgrading 1.x services, components, and controllers
- Best practices for Angular 2