angular/angular.js — pull request #2788 by lgalfaso (2013-05-25 00:52:12+00:00)
Title: feat(directive): support as instance syntax

Support controller: 'MyController as my' syntax for directives which publishes
the controller instance to the directive scope.

Support controllerAs syntax to define an alias to the controller within the
directive scope.

Note: The syntax `controller: 'MyController as my'` was already working as a side-effect of the existing changes to support this syntax on a route