Angular 2 – Relief from the madness of Angular 1
Angular 2 appears to be a breath of fresh air compared to the madness of Angular 1 – $stateProvider was one of those mad features in my view 🙂 Thankfully, with Angular2 we are back into a component world – not exactly sure why we left, given the history of UI frameworks from the Microsoft .NET and Java UI days.
Documentation appears good as one would expect on the angular site, which an architecture overview here. Probably most useful is the cheat sheet. Nice callout to a pattern everyone should be familiar with:
Apply the Single Responsibility Principle to all components, services, and other symbols. This helps make the app cleaner, easier to read and maintain, and more testable.
In the templates, its worth remembers all the HTML5 features available.