Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

1.1 Introduction

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 that dynamically chooses a template to display. This directive is built to be easily extensible so that more templates can be added easily.

1.Advanced Angular Directives
2 lessons, 13:00

Free Lesson
1.1
Introduction
00:48

1.2
Advanced Angular Directives
12:12


1.1 Introduction

[MUSIC] Hello, I'm Reggie Dawson. In this course, I will show you technique to use dynamic templates with your angular directives. Angular directives are probably the area where most new users of angular directives get tripped up. As a result many people stay away from them. The funny thing is if you take a little time directors are not that hard to wrap your head around. These custom HTML components allow you to extend angular and customize it for your own needs. Instead of using a third party library to offer custom components, you have all the tools to build your own. In this course, you will learn how to create a directive that chooses its template based on its content type. We will create a custom component that we can easily add other templates to if we like. After this course, you should have a better idea of what you can do with angular directives.

Back to the top