
上QQ阅读APP看书,第一时间看更新
What's new in Angular ?
The following are the new features in Angular:
- TyepScript 2.1+ is the required scripting language for Angular.
- Ahead of Time compilation mode enables Angular to compile the templates and generates JavaScript code during the build process. This helps us identify the errors in templates during the build-time rather than at runtime.
- Angular animation has its own package, and it means that you don't need to ship animation packages to the projects that don't need animation.
- Template tag is now deprecated as it leads to confusion with the template HTML tag that is used in web components. So, ng-template is introduced for templates in Angular.
Apart from these, other new features have been introduced in code level.