Duration: 19:10 min
Summary: In this lesson, we will discuss a custom directive in details. This example is already presented on the Angular web site, but I am discussing it in this video to explain some of the details around custom directives. The example shows the current date and time that is update every second. But also, there is the format text box that allows you to change the format dynamically. The key point in this discussion is the custom directive we are creating, and the details surrounding it creation. We will discuss all the functions and services available. We will also load the example in the F12 developer tools and add breakpoints. This is very handy in exploring what is going on behind the scenes and how everything ties together.