Angular 2 Essential Training - Part 5 - Directives and Pipes | Patrick Schroeder | Skillshare

Angular 2 Essential Training - Part 5 - Directives and Pipes

Patrick Schroeder, Teaching JavaScript Courses

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
8 Videos (24m)
    • Directives Intro

    • Attributes Directive

    • NgIf

    • NgFor

    • NgClass

    • Pipes Intro

    • Built-in Pipes

    • Custom Pipes


About This Class

Welcome to Part 5 of the course.

In this section we'll discuss directives and pipes.

Attribute Directive - This video will cover how to use component and attribute directives.

NgIf - We use the NgIf directive when we want to add, remove or update view elements.

NgFor - The NgFor directive instantiates a template once per item from an iterable.

NgClass - The ngClass directive adds and removes CSS classes on an HTML element.

Built-in Pipes - Angular provides us with some built-in pipes that we can easily use inside of our templates. These include: uppercase, lowercase, decimal, currency, date and JSON.

Custom Pipes - In this video we’re going to see how you can go about creating your own custom pipe. We'll first walk through the process in our slides and then build a Truncate Pipe to limit the amount of characters displayed in a description.

Code for this course is located here:





  • --
  • Beginner
  • Intermediate
  • Advanced
  • All Levels
  • Beg/Int
  • Int/Adv


Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

Patrick Schroeder

Teaching JavaScript Courses

Patrick Schroeder is a self-taught full stack JavaScript developer. He enjoys working with Angular, Node.js, Mongodb, React.js, Firebase, and anything else javascript related. Patrick is passionate about teaching Javascript. He loves to help others understand difficult concepts by creating clear presentations that gradually builds to full comprehension of a given topic. He is very interested in furthering his knowledge of IOT and wearable products with the intention of teaching cutting edge t...

See full profile

Report class