I’ve been working these days using Angular2 for the first time and this is what I have to say.
Before starting with this text, I have to say this opinion is totally personal and based in my own experience. Talking about my experience: I’ve been working with Angular 1 for more than three years. I started with Angular 1.2.3 and I’m currently using version 1.5.8 with these rules:
- I use a Component based architecture and Components only deal with “scope”.
- I only use Factory for services and they usually have all the business logic.
- Directives just for small DOM things.
- John Papa styleguide is a good ruleset to follow.