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

Commit 46ccaee

Browse files
oBuskgkalpak
authored andcommitted
docs($compileProvider): add more info on debugInfoEnabled()
Add more info on what `debugInfoEnabled()` affects. Closes #16154
1 parent 86c9990 commit 46ccaee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ng/compile.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,12 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
13621362
* binding information and a reference to the current scope on to DOM elements.
13631363
* If enabled, the compiler will add the following to DOM elements that have been bound to the scope
13641364
* * `ng-binding` CSS class
1365+
* * `ng-scope` and `ng-isolated-scope` CSS classes
13651366
* * `$binding` data property containing an array of the binding expressions
1367+
* * Data properties used by the {@link angular.element#methods `scope()`/`isolateScope()` methods} to return
1368+
* the element's scope.
1369+
* * Placeholder comments will contain information about what directive and binding caused the placeholder.
1370+
* E.g. `<!-- ngIf: shouldShow() -->`.
13661371
*
13671372
* You may want to disable this in production for a significant performance boost. See
13681373
* {@link guide/production#disabling-debug-data Disabling Debug Data} for more.

0 commit comments

Comments
 (0)