Added parts for angular.js directives example.