docs: fix a few typos

closes #1239
This commit is contained in:
Foxandxss 2016-05-02 00:29:25 +02:00 committed by Ward Bell
parent bbd7d79a76
commit 66764fec7e
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ code-example(format='')
:marked
## Use the *Title* service
Fortunately, Angular 2 bridges the gap by providing a `Title` service as part of the *Browser platform*.
The [Title](../api//platform/browser/Title-class.html) service is a simple class that provides an API
The [Title](../api/platform/browser/Title-class.html) service is a simple class that provides an API
for getting and setting the current HTML document title:
* `getTitle() : string` — Gets the title of the current HTML document.

View File

@ -439,7 +439,7 @@ a(id="no-filter-pipe")
We might sort the list by hero `name` and `planet` origin properties something like this:
code-example(format="." language="html")
<!-- NOT REAL CODE! -->
<div *ngFor="#hero of heroes | orderBy:'name,planet'"></div>
<div *ngFor="let hero of heroes | orderBy:'name,planet'"></div>
:marked
We identify the sort fields by text strings, expecting the pipe to reference a property value by indexing
(e.g., `hero['name']`).