You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
- docs pages should only have one h1
- docs pages shouldn't skip a h* in the hierarchy
- manual table of contents are no longer necesary
- references to the doc-module-components directive are obsolete
Copy file name to clipboardExpand all lines: docs/content/misc/started.ngdoc
+4-4
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ becoming an AngularJS expert.
16
16
starter app with a directory layout, test harness, and scripts to begin building your application.
17
17
18
18
19
-
# Further Steps
19
+
## Further Steps
20
20
21
-
## Watch Videos
21
+
### Watch Videos
22
22
23
23
If you haven’t had a chance to watch the videos from the homepage, please check out:
24
24
@@ -29,13 +29,13 @@ If you haven’t had a chance to watch the videos from the homepage, please chec
29
29
And visit our [YouTube channel](http://www.youtube.com/user/angularjs) for more AngularJS video presentations and
30
30
tutorials.
31
31
32
-
## Subscribe
32
+
### Subscribe
33
33
34
34
* Subscribe to the [mailing list](http://groups.google.com/forum/?fromgroups#!forum/angular). Ask questions here!
35
35
* Follow us on [Twitter](https://twitter.com/intent/follow?original_referer=http%3A%2F%2Fangularjs.org%2F®ion=follow_link&screen_name=angular&source=followbutton&variant=2.0)
36
36
* Add us to your circles on [Google+](https://plus.google.com/110323587230527980117/posts)
37
37
38
-
## Read more
38
+
### Read more
39
39
40
40
The AngularJS documentation includes the {@link guide/index Developer Guide} covering concepts and the
Copy file name to clipboardExpand all lines: src/ng/sce.js
+9-9
Original file line number
Diff line number
Diff line change
@@ -463,13 +463,13 @@ function $SceDelegateProvider() {
463
463
*
464
464
* `$sce` is a service that provides Strict Contextual Escaping services to AngularJS.
465
465
*
466
-
* # Strict Contextual Escaping
466
+
* ## Strict Contextual Escaping
467
467
*
468
468
* Strict Contextual Escaping (SCE) is a mode in which AngularJS constrains bindings to only render
469
469
* trusted values. Its goal is to assist in writing code in a way that (a) is secure by default, and
470
470
* (b) makes auditing for security vulnerabilities such as XSS, clickjacking, etc. a lot easier.
471
471
*
472
-
* ## Overview
472
+
* ### Overview
473
473
*
474
474
* To systematically block XSS security bugs, AngularJS treats all values as untrusted by default in
475
475
* HTML or sensitive URL bindings. When binding untrusted values, AngularJS will automatically
@@ -485,7 +485,7 @@ function $SceDelegateProvider() {
485
485
*
486
486
* As of version 1.2, AngularJS ships with SCE enabled by default.
487
487
*
488
-
* ## In practice
488
+
* ### In practice
489
489
*
490
490
* Here's an example of a binding in a privileged context:
491
491
*
@@ -522,7 +522,7 @@ function $SceDelegateProvider() {
522
522
* (and shorthand methods such as {@link ng.$sce#trustAsHtml $sce.trustAsHtml}, etc.) to
523
523
* build the trusted versions of your values.
524
524
*
525
-
* ## How does it work?
525
+
* ### How does it work?
526
526
*
527
527
* In privileged contexts, directives and code will bind to the result of {@link ng.$sce#getTrusted
528
528
* $sce.getTrusted(context, value)} rather than to the value directly. Think of this function as
@@ -546,7 +546,7 @@ function $SceDelegateProvider() {
546
546
* }];
547
547
* ```
548
548
*
549
-
* ## Impact on loading templates
549
+
* ### Impact on loading templates
550
550
*
551
551
* This applies both to the {@link ng.directive:ngInclude `ng-include`} directive as well as
552
552
* `templateUrl`'s specified by {@link guide/directive directives}.
@@ -566,7 +566,7 @@ function $SceDelegateProvider() {
566
566
* won't work on all browsers. Also, loading templates from `file://` URL does not work on some
567
567
* browsers.
568
568
*
569
-
* ## This feels like too much overhead
569
+
* ### This feels like too much overhead
570
570
*
571
571
* It's important to remember that SCE only applies to interpolation expressions.
572
572
*
@@ -590,7 +590,7 @@ function $SceDelegateProvider() {
590
590
* security onto an application later.
591
591
*
592
592
* <a name="contexts"></a>
593
-
* ## What trusted context types are supported?
593
+
* ### What trusted context types are supported?
594
594
*
595
595
* | Context | Notes |
596
596
* |---------------------|----------------|
@@ -606,7 +606,7 @@ function $SceDelegateProvider() {
606
606
* in AngularJS currently, so their corresponding `$sce.trustAs` functions aren't useful yet. This
607
607
* might evolve.
608
608
*
609
-
* ## Format of items in {@link ng.$sceDelegateProvider#resourceUrlWhitelist resourceUrlWhitelist}/{@link ng.$sceDelegateProvider#resourceUrlBlacklist Blacklist} <a name="resourceUrlPatternItem"></a>
609
+
* ### Format of items in {@link ng.$sceDelegateProvider#resourceUrlWhitelist resourceUrlWhitelist}/{@link ng.$sceDelegateProvider#resourceUrlBlacklist Blacklist} <a name="resourceUrlPatternItem"></a>
610
610
*
611
611
* Each element in these arrays must be one of the following:
612
612
*
@@ -653,7 +653,7 @@ function $SceDelegateProvider() {
653
653
*
654
654
* Refer {@link ng.$sceDelegateProvider $sceDelegateProvider} for an example.
0 commit comments