From 7b31178546749be11d63115809c8b5e7d3f9b1bf Mon Sep 17 00:00:00 2001 From: Vikram Subramanian Date: Mon, 11 Jul 2016 17:19:18 -0700 Subject: [PATCH] fix(platform-browser-dynamic): Add @Injectable() annotation to XHRImpl. Otherwise Closure compiled code will complain that the class is missing the annootation. --- modules/@angular/platform-browser-dynamic/src/xhr/xhr_impl.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 40d23a029e699..f46984300c2bb 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();