Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8473b9d

Browse files
jdavisp3btford
authored andcommitted
docs(ngCsp): fix grammar
1 parent 679d418 commit 8473b9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ng/directive/ngCsp.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
* For us to be compatible, we just need to implement the "getterFn" in $parse without violating
1616
* any of these restrictions.
1717
*
18-
* AngularJS uses `Function(string)` generated functions as a speed optimization. By applying `ngCsp`
19-
* it is be possible to opt into the CSP compatible mode. When this mode is on AngularJS will
18+
* AngularJS uses `Function(string)` generated functions as a speed optimization. Applying the `ngCsp`
19+
* directive will cause Angular to use CSP compatibility mode. When this mode is on AngularJS will
2020
* evaluate all expressions up to 30% slower than in non-CSP mode, but no security violations will
2121
* be raised.
2222
*
23-
* In order to use this feature put `ngCsp` directive on the root element of the application.
23+
* In order to use this feature put the `ngCsp` directive on the root element of the application.
2424
*
2525
* @example
2626
* This example shows how to apply the `ngCsp` directive to the `html` tag.

0 commit comments

Comments
 (0)