diff --git a/docs/content/guide/migration.ngdoc b/docs/content/guide/migration.ngdoc index 6a2c25787cff..4a416357f0b0 100644 --- a/docs/content/guide/migration.ngdoc +++ b/docs/content/guide/migration.ngdoc @@ -1296,7 +1296,7 @@ Due to [b71d7c3f](https://github.com/angular/angular.js/commit/b71d7c3f3c04e65b0 falsy values (`''`, `0`, `false` and `null`) are properly recognized as option group identifiers for options passed to `ngOptions`. Previously, all of these values were ignored and the option was not assigned to any group. `undefined` is still interpreted as "no group". -If you have options with falsy group indentifiers that should still not be assigned to any group, +If you have options with falsy group identifiers that should still not be assigned to any group, then you must filter the values before passing them to `ngOptions`, converting falsy values to `undefined`. diff --git a/src/ng/compile.js b/src/ng/compile.js index 5c1f255849b8..0405d3be76d3 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -374,12 +374,6 @@ * `$onInit`, which is called after all the controllers on an element have been constructed and had their bindings * initialized. * - *
- * **Deprecation warning:** although bindings for non-ES6 class controllers are currently - * bound to `this` before the controller constructor is called, this use is now deprecated. Please place initialization - * code that relies upon bindings inside a `$onInit` method on the controller, instead. - *
- * * It is also possible to set `bindToController` to an object hash with the same format as the `scope` property. * This will set up the scope bindings to the controller directly. Note that `scope` can still be used * to define which kind of scope is created. By default, no scope is created. Use `scope: {}` to create an isolate