angular/angular.js — pull request #3514 by jankuca (2013-08-08 23:08:56+00:00)
Title: fix(compile): fix directives with controller, templateUrl and compile properties

This PR addresses the following JSBin: http://jsbin.com/azomeh/9/edit

Directives combining templateUrl and a controller were not getting compiled correctly. The second call to `applyDirectivesToNode` was being made with the `controller` property of the directive set to `null` which made it impossible for the compiler to find the controller constructor function.