$componentController doesn't bind properties when component uses ES6 controller class #14437
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Bindings set up with $componentController are undefined when using a ES6 class as the controller. See an example at http://jsbin.com/qaxivowuni/1/edit?js,output. Switching from the Es6Controller to the Es5Controller causes the binding to be defined.
What is the expected behavior?
The bindings are defined regardless of how the controller class is created.
What is the motivation / use case for changing the behavior?
Unable to use ES6 features.
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
Angular 1.5 / Chrome 49.0.2623.87 / Mac OS 10.11.4