Test Any AngularJS Directive How do you test AngularJS directives? Examples: Shared Scope Child Scope Isolated Scope