File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
* For us to be compatible, we just need to implement the "getterFn" in $parse without violating
16
16
* any of these restrictions.
17
17
*
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
20
20
* evaluate all expressions up to 30% slower than in non-CSP mode, but no security violations will
21
21
* be raised.
22
22
*
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.
24
24
*
25
25
* @example
26
26
* This example shows how to apply the `ngCsp` directive to the `html` tag.
You can’t perform that action at this time.
0 commit comments