Build a Directive that Tracks User Events in a Service in Angular

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

A @Directive is used to add behavior to elements and components in your application. This makes @Directives ideal for behaviors such as "tracking" which don't belong in a Component, but do belong as a behavior in your application.