This article shows how ES6/Typescipt classes can be used to defined various parts of angular app (e.g. modules, factories etc).
In addition, this article specifically deals with defining angular 1.x directives using classes, as they are the most difficult. I Actually found the approach in that article better then the one presented in the one in the title.
















