diff --git a/src/core/services/compiler/compiler.js b/src/core/services/compiler/compiler.js index 825236f0fc..7340a817b9 100644 --- a/src/core/services/compiler/compiler.js +++ b/src/core/services/compiler/compiler.js @@ -379,7 +379,7 @@ function MdCompilerProvider($compileProvider) { var ctrl = invokeCtrl(); if (!getPreAssignBindingsEnabled() && options.bindToController) { - angular.extend(invokeCtrl.instance, locals); + angular.extend(ctrl, locals); } // Call the $onInit hook if it's present on the controller.