SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 146 JavaScript

fix($compile): do not use `noop()` as controller for multiple components

Currently, custom annotations are copied from the CDO onto the controller constructor.
Using `noop()` when no controller has been specified, pollutes it with custom annotations and
makes one component's annotations available to all other components that have `noop()` as their
controller.

Fixes #14391
Closes #14402
G
Georgios Kalpakas committed
9264cef03f4761a73f4fd8f4e32b150a337da1d2
Parent: a0b5e1a
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 4/11/2016, 5:42:48 PM