In this article I will show how common scenarios of using dependency injection in Angular 1 can be implemented in Angular 2.
It was an alarming experience for most Angular 1 developers the first time they saw Angular 2. In fact, pretty much everything changed. We were faced with learning a new language, new syntax, new tooling, etc. and it was overwhelming. The 5-minute quick start was more like a 25-minute quick start that included a 20-minute scenic tour into a ton of new stuff seemingly unrelated to Angular.
I've been helping a client develop a project management application for the last several months. One of the features I implemented uses UI Bootstrap's carousel directive to display a list of project templates to choose from when creating a new project. Rather than displaying one at a time, we wanted to display as many as the user's screen would allow. That is, if they were on a large monitor, we wanted to display five templates, a medium size monitor would display three and so on. This is a story of how I implemented a smart chunking carousel.