Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 233a93f

Browse files
oBuskgkalpak
authored andcommitted
docs($compileProvider): add more info on debugInfoEnabled()
Add more info on what `debugInfoEnabled()` affects. Closes #16154
1 parent 59a9c13 commit 233a93f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ng/compile.js

+5
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,12 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
13871387
* binding information and a reference to the current scope on to DOM elements.
13881388
* If enabled, the compiler will add the following to DOM elements that have been bound to the scope
13891389
* * `ng-binding` CSS class
1390+
* * `ng-scope` and `ng-isolated-scope` CSS classes
13901391
* * `$binding` data property containing an array of the binding expressions
1392+
* * Data properties used by the {@link angular.element#methods `scope()`/`isolateScope()` methods} to return
1393+
* the element's scope.
1394+
* * Placeholder comments will contain information about what directive and binding caused the placeholder.
1395+
* E.g. `<!-- ngIf: shouldShow() -->`.
13911396
*
13921397
* You may want to disable this in production for a significant performance boost. See
13931398
* {@link guide/production#disabling-debug-data Disabling Debug Data} for more.

0 commit comments

Comments
 (0)