AngularJS provides support for testing directives. Testing directives that use inline templates -- html that is embedded within the directive's code -- is a straightforward process. What isn't straightforward is testing a directive that uses an external html template.