AngularJS Up and Running. Ch12. Testing directives.