AngularJS has become the go-to framework for many web developers. It is an all-in-one solution for quickly building front-end single-page web applications. But even though it's easier than what came before, Angular can still be quite complicated! Directives, for example, are one of the least-understood features of Angular.
In this Coffee Break Course, designed to teach a new skill or concept in a single sitting, Envato Tuts+ instructor Reggie Dawson will show you how to build an Angular directive with a dynamic template. The display template will be chosen based on the type of content passed to the directive. This directive is built to be easily extensible so that more templates can be added easily.