diff --git a/modules/@angular/platform-browser-dynamic/src/xhr/xhr_impl.ts b/modules/@angular/platform-browser-dynamic/src/xhr/xhr_impl.ts index 40d23a029e..f46984300c 100644 --- a/modules/@angular/platform-browser-dynamic/src/xhr/xhr_impl.ts +++ b/modules/@angular/platform-browser-dynamic/src/xhr/xhr_impl.ts @@ -5,12 +5,13 @@ * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ - import {XHR} from '@angular/compiler'; +import {Injectable} from '@angular/core'; import {isPresent} from '../facade/lang'; import {PromiseCompleter, PromiseWrapper} from '../facade/promise'; +@Injectable() export class XHRImpl extends XHR { get(url: string): Promise { var completer: PromiseCompleter = PromiseWrapper.completer();