Using ES6 Arrow Functions in Angular 1.x + Cheatsheet

ES6 is becoming popular among the JS crowd. I’m guessing the first feature anyone starts using is arrow functions. And the recently released Angular 1.5 introduced support for injecting dependencies into arrow functions. Unfortunately this added a couple of pitfalls that are easy to miss.