From c68156e079560c20730ef516a277152cd666f07c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Wed, 29 Mar 2017 13:39:13 +0200 Subject: [PATCH] docs($compile): remove a mention of preassigning bindings in controllers The deprecation warning is no longer needed as the feature has been removed in 1.7. --- src/ng/compile.js | 6 ------ 1 file changed, 6 deletions(-) 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