chore(aio): no more anchors followed immediately by md header (#3489)
This commit is contained in:
parent
914823a47a
commit
86dce5227c
|
@ -697,7 +697,8 @@ a(id="find-parent")
|
||||||
|
|
||||||
This section describes some techniques for doing that.
|
This section describes some techniques for doing that.
|
||||||
|
|
||||||
<a id="known-parent"></a>
|
a#known-parent
|
||||||
|
:marked
|
||||||
### Find a parent component of known type
|
### Find a parent component of known type
|
||||||
|
|
||||||
You use standard class injection to acquire a parent component whose type you know.
|
You use standard class injection to acquire a parent component whose type you know.
|
||||||
|
@ -715,7 +716,8 @@ a(id='alex')
|
||||||
the <live-example name="cb-dependency-injection"></live-example>
|
the <live-example name="cb-dependency-injection"></live-example>
|
||||||
confirms that the `alex` parameter is set.
|
confirms that the `alex` parameter is set.
|
||||||
|
|
||||||
<a id="base-parent"></a>
|
a#base-parent
|
||||||
|
:marked
|
||||||
### Cannot find a parent by its base class
|
### Cannot find a parent by its base class
|
||||||
|
|
||||||
What if you *don't* know the concrete parent component class?
|
What if you *don't* know the concrete parent component class?
|
||||||
|
@ -752,7 +754,9 @@ a(id='alex')
|
||||||
confirms that the `alex` parameter is null.
|
confirms that the `alex` parameter is null.
|
||||||
*You cannot inject a parent by its base class.*
|
*You cannot inject a parent by its base class.*
|
||||||
|
|
||||||
<a id="class-interface-parent"></a>
|
|
||||||
|
a#class-interface-parent
|
||||||
|
:marked
|
||||||
### Find a parent by its class-interface
|
### Find a parent by its class-interface
|
||||||
|
|
||||||
You can find a parent component with a [class-interface](#class-interface).
|
You can find a parent component with a [class-interface](#class-interface).
|
||||||
|
|
|
@ -558,7 +558,8 @@ a#feature-modules
|
||||||
In the next section, you'll carve the contact functionality out of the root module
|
In the next section, you'll carve the contact functionality out of the root module
|
||||||
and into a dedicated feature module.
|
and into a dedicated feature module.
|
||||||
|
|
||||||
<a id="contact-module-v1"></a>
|
a#contact-module-v1
|
||||||
|
:marked
|
||||||
### Make _Contact_ a feature module
|
### Make _Contact_ a feature module
|
||||||
<!-- CF: Is "Contact" a proper noun in this context? -->
|
<!-- CF: Is "Contact" a proper noun in this context? -->
|
||||||
|
|
||||||
|
@ -860,7 +861,8 @@ a#shared-module
|
||||||
The `TitleComponent` is used only once by the `AppComponent`.
|
The `TitleComponent` is used only once by the `AppComponent`.
|
||||||
There's no point in sharing it.
|
There's no point in sharing it.
|
||||||
|
|
||||||
<a id="no-shared-module-providers"></a>
|
a#no-shared-module-providers
|
||||||
|
:marked
|
||||||
### Why _UserService_ isn't shared
|
### Why _UserService_ isn't shared
|
||||||
|
|
||||||
While many components share the same service instances,
|
While many components share the same service instances,
|
||||||
|
|
|
@ -311,7 +311,8 @@ figure.image-display
|
||||||
With that concern in mind, implement an impure pipe with great care.
|
With that concern in mind, implement an impure pipe with great care.
|
||||||
An expensive, long-running pipe could destroy the user experience.
|
An expensive, long-running pipe could destroy the user experience.
|
||||||
|
|
||||||
<a id="impure-flying-heroes"></a>
|
a#impure-flying-heroes
|
||||||
|
:marked
|
||||||
### An impure *FlyingHeroesPipe*
|
### An impure *FlyingHeroesPipe*
|
||||||
|
|
||||||
A flip of the switch turns the `FlyingHeroesPipe` into a `FlyingHeroesImpurePipe`.
|
A flip of the switch turns the `FlyingHeroesPipe` into a `FlyingHeroesImpurePipe`.
|
||||||
|
|
|
@ -131,7 +131,8 @@ figure.image-display
|
||||||
[An Introduction to Content Security Policy](http://www.html5rocks.com/en/tutorials/security/content-security-policy/)
|
[An Introduction to Content Security Policy](http://www.html5rocks.com/en/tutorials/security/content-security-policy/)
|
||||||
on the HTML5Rocks website.
|
on the HTML5Rocks website.
|
||||||
|
|
||||||
<a id="offline-template-compiler"></a>
|
a#offline-template-compiler
|
||||||
|
:marked
|
||||||
### Use the offline template compiler
|
### Use the offline template compiler
|
||||||
|
|
||||||
The offline template compiler prevents a whole class of vulnerabilities called template injection,
|
The offline template compiler prevents a whole class of vulnerabilities called template injection,
|
||||||
|
|
|
@ -14,6 +14,7 @@ block includes
|
||||||
[Fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).
|
[Fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).
|
||||||
|
|
||||||
The Angular HTTP library simplifies application programming with the **XHR** and **JSONP** APIs.
|
The Angular HTTP library simplifies application programming with the **XHR** and **JSONP** APIs.
|
||||||
|
|
||||||
# Contents
|
# Contents
|
||||||
|
|
||||||
* [Demos](#demos)
|
* [Demos](#demos)
|
||||||
|
@ -581,7 +582,8 @@ block wikipedia-jsonp+
|
||||||
In this example, the app must always display the results for the *http* search
|
In this example, the app must always display the results for the *http* search
|
||||||
no matter which response arrives first.
|
no matter which response arrives first.
|
||||||
|
|
||||||
<a id="more-observables"></a>
|
a#more-observables
|
||||||
|
:marked
|
||||||
## More fun with Observables
|
## More fun with Observables
|
||||||
|
|
||||||
You could make changes to the `WikipediaService`, but for a better
|
You could make changes to the `WikipediaService`, but for a better
|
||||||
|
|
|
@ -29,7 +29,8 @@ a(id="tsconfig")
|
||||||
:marked
|
:marked
|
||||||
This file contains options and flags that are essential for Angular applications.
|
This file contains options and flags that are essential for Angular applications.
|
||||||
|
|
||||||
<a id="noImplicitAny"></a>
|
a#noImplicitAny
|
||||||
|
:marked
|
||||||
### *noImplicitAny* and *suppressImplicitAnyIndexErrors*
|
### *noImplicitAny* and *suppressImplicitAnyIndexErrors*
|
||||||
|
|
||||||
TypeScript developers disagree about whether the `noImplicitAny` flag should be `true` or `false`.
|
TypeScript developers disagree about whether the `noImplicitAny` flag should be `true` or `false`.
|
||||||
|
|
|
@ -13,7 +13,8 @@ style.
|
||||||
It's an excellent alternative to the *SystemJS* approach used elsewhere in the documentation.
|
It's an excellent alternative to the *SystemJS* approach used elsewhere in the documentation.
|
||||||
This guide offers a taste of Webpack and explains how to use it with Angular applications.
|
This guide offers a taste of Webpack and explains how to use it with Angular applications.
|
||||||
|
|
||||||
<a id="top"></a>
|
a#top
|
||||||
|
:marked
|
||||||
# Contents
|
# Contents
|
||||||
|
|
||||||
* [What is Webpack?](#what-is-webpack)
|
* [What is Webpack?](#what-is-webpack)
|
||||||
|
|
|
@ -426,8 +426,8 @@ h1 Providing HTTP Services
|
||||||
|
|
||||||
Each call to `search()` puts a new string into this subject's _observable_ stream by calling `next()`.
|
Each call to `search()` puts a new string into this subject's _observable_ stream by calling `next()`.
|
||||||
|
|
||||||
|
a#ngoninit
|
||||||
:marked
|
:marked
|
||||||
<a id="ngoninit"></a>
|
|
||||||
#### Initialize the *heroes* property (*ngOnInit*)
|
#### Initialize the *heroes* property (*ngOnInit*)
|
||||||
|
|
||||||
A `Subject` is also an `Observable`.
|
A `Subject` is also an `Observable`.
|
||||||
|
|
Loading…
Reference in New Issue