angular/angular.js — pull request #9392 by kentcdodds (2014-10-02 16:30:43+00:00)
Title: test($compile): add test for optional `require` in directives with `^` operator

The directive property `require` allows optional requirement via
the `?` before or after the `^` operator. Add tests to ensure this
functionality is not lost inadvertently.

Closes #9391