@@ -967,7 +967,6 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
967967 * See {@link ng.$compile#-bindtocontroller- `bindToController`}.
968968 * - `transclude` – `{boolean=}` – whether {@link $compile#transclusion content transclusion} is enabled.
969969 * Disabled by default.
970- * - `isolate` – `{boolean=}` – whether the new scope is isolated. Isolated by default.
971970 * - `restrict` - `{string=}` - a string containing one or more characters from {@link ng.$compile#-restrict- EACM},
972971 * which restricts the component to specific directive declaration style. If omitted, this defaults to 'E'.
973972 * - `$canActivate` – `{function()=}` – TBD.
@@ -982,7 +981,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
982981 * directives. Component definitions usually consist only of a template and a controller backing it.
983982 *
984983 * In order to make the definition easier, components enforce best practices like use of `controllerAs`,
985- * `bindToController` and default behaviors like **isolate scope** and restriction to elements.
984+ * `bindToController`, **isolate scope** and default behaviors like restriction to elements.
986985 *
987986 * Here are a few examples of how you would usually define components:
988987 *
@@ -1071,7 +1070,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
10711070 template : makeInjectable ( template ) ,
10721071 templateUrl : makeInjectable ( options . templateUrl ) ,
10731072 transclude : options . transclude ,
1074- scope : options . isolate === false ? true : { } ,
1073+ scope : { } ,
10751074 bindToController : options . bindings || { } ,
10761075 restrict : options . restrict || 'E'
10771076 } ;
0 commit comments