Slides and code samples from my talk on directives for the ngPittsburgh meetup.