Skip to content

Commit 90be1e0

Browse files
author
lewis liu
committed
Update hero-list.component.ts
1 parent 0000859 commit 90be1e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipes/app/stateful/hero-list.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import {FetchJsonPipe} from './fetch-json.pipe';
44
selector: 'hero-list',
55
template: `
66
<h4>Heroes from JSON File</h4>
7-
<div *ngFor="#hero of ('/pipes/heroes.json' | fetch) ">
7+
<div *ngFor="#hero of ('pipes/heroes.json' | fetch) ">
88
{{hero.name}}
99
</div>
1010
<p>Heroes as JSON:
11-
{{'/pipes/heroes.json' | fetch | json}}
11+
{{'pipes/heroes.json' | fetch | json}}
1212
</p>
1313
`,
1414
pipes: [FetchJsonPipe]

0 commit comments

Comments
 (0)