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.

Closes #15870
This commit is contained in:
Michał Gołębiowski
2017-03-29 14:15:26 +02:00
committed by GitHub
parent 2b0c0505e2
commit 1e841a89c1
-6
View File
@@ -374,12 +374,6 @@
* `$onInit`, which is called after all the controllers on an element have been constructed and had their bindings
* initialized.
*
* <div class="alert alert-warning">
* **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.
* </div>
*
* 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