angular/angular.js — pull request #4540 by caitp (2013-10-20 07:31:15+00:00)
Title: feat($compile): get controllers from parent directives only

Implement option to strengthen require '^' operator, by adding another '^'.

When a second '^' is used, the controller will only search parent nodes for
the matching controller, and will throw or return null if not found,
depending on whether or not the requirement is optional.

Closes #4518