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. * - *