Skip to content
JS

Understand Angular Directives in Depth

Course on egghead by John Lindquist

View on egghead (opens in a new tab)
29 min
LengthVideo runtime
Subscription
Price modelegghead plan
11
Lessons
4.4
Rating out of 528 ratings on egghead
Dec 2016
Published19 Dec 2016

About this course

Description from egghead

Angular Directives allow you to add custom behavior to elements and components. Rather than creating a hierarchy of components to try to "extend" behavior, Angular Directives enable you to compose behaviors on to your components. This includes adding event listeners that hook into services, manipulating templates, and adding more configuration to basic elements. This course helps you understand the concepts around building our Angular directives and provides examples from basic directives that inspect elements to advanced structural directives that completely re-write templates. If Angular is new and the syntax foreign, you will want to check out Get Started with Angular and Building Angular Components.

What it covers

11 lessons
  1. 1Write an Angular Directive
  2. 2Add Inputs to Angular Directives
  3. 3Handle Events with Angular Directives
  4. 4Build a Directive that Tracks User Events in a Service in Angular
  5. 5Combine HostBinding with Services in Angular Directives
  6. 6Use Template Elements in Angular
  7. 7Create Elements from Template Elements with ngTemplateOutlet in Angular
  8. 8Write a Structural Directive in Angular
  9. 9Implement Structural Directive Data Binding with Context in Angular
  10. 10Assign a Structual Directive a Dynamic Context in Angular
  11. 11Create a Template Storage Service in Angular

Similar Angular courses

  1. Introduction to AngularJS Material

    egghead · Aaron Frost · 7 lessons · 3.4 from 4 ratings · Feb 2016

    29 minFree
    egghead73.4 (4)Feb 2016
  2. SEO Friendly Progressive Web Applications with Angular Universal

    egghead · Bram Borggreve · 14 lessons · 4.7 from 5 ratings · Jul 2018

    28 minSubscription
    egghead144.7 (5)Jul 2018
  3. Create Dynamic Forms in Angular

    egghead · Juri Strumpflohner · 7 lessons · 4.3 from 11 ratings · Dec 2017

    27 minSubscription
    egghead74.3 (11)Dec 2017
  4. The 80/20 Rule - Build a strong AngularJS Foundation

    Master.dev · Lukas Ruebbelke · 2 lessons · Aug 2014

    17 minFree
    Master.dev2Aug 2014
  5. Server Side integration with AngularJS

    Master.dev · Lukas Ruebbelke · 2 lessons · Aug 2014

    15 minFree
    Master.dev2Aug 2014
  6. AngularJS In Action

    Master.dev · Lukas Ruebbelke · 2 lessons · Aug 2014

    12 minFree
    Master.dev2Aug 2014
  7. Intermediate1 h
    CourseraJul 2024
  8. Angular.js for Beginners: Directives

    Coursera · Shineta Horton, M. Ed · Jun 2023

    Beginner1 h 30 min
    CourseraJun 2023

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.

    Compare