Add missing import of Injectable to DI guide

closes #373
This commit is contained in:
Mark Rajcok 2015-11-13 15:37:50 -05:00 committed by Ward Bell
parent 85195742bc
commit 54573563a3
1 changed files with 1 additions and 0 deletions

View File

@ -316,6 +316,7 @@ include ../../../../_includes/_util-fns
Here's a rewrite of `HeroService` with a new constructor that takes a `logger` parameter. Here's a rewrite of `HeroService` with a new constructor that takes a `logger` parameter.
``` ```
import {Injectable} from 'angular2/angular2';
import {Hero} from './hero'; import {Hero} from './hero';
import {HEROES} from './mock-heroes'; import {HEROES} from './mock-heroes';
import {Logger} from './logger'; import {Logger} from './logger';