Angular 2
- ECMAScript6 features comparison 1
- Wizards wizard 2 A wizard to build a wizard. Demo application for integrating forms and redux, as showcased @ ng-conf 2017 during FormControl Freaks: Redux Edition.
Diff Es6 vs Es5 Unicorn
directive change, ng2 eliminates scope, restrict, link, module has a component method instead
typescript is a superscript of ES6.
component | encapsulates the template, data and behavior of a view. components can be nested, in a tree like structure, and reusable. is a ts class. completely decoupled from the DOM, binding used instead. facilitates unit testing. |
router | responsible for navigation |
directive | modify DOM elements so as to modify their behavior |
service |