I have been using Angular for over 3 years. A few months ago Angular 1.5 came out and they introduced the
.component() method, which is basically the same as an element directive but with a much simpler API. Since then I’ve fallen more and more in love with Angular so I decided to write a small todo app utilizing the component architecture along with some cool things in the Angular world.
First of all I’m not much of a designer so I want to thank TodoMVC for the UI.
Anyway, the app consists of:
- Angular 1.5 because of components!
- UI-Router 1.0.0-beta.1 so I can route to components
- MobX for managing my state
- Webpack for module bundling
I’m not gonna talk much about these in depth, only high-level about what they are and why I chose them. This article will mainly be about how I decided to structure and implement the app.