From f375dbd013fa51951819175ed20b3c9d7e5db5a1 Mon Sep 17 00:00:00 2001 From: Tim Blasi Date: Thu, 9 Apr 2015 17:35:33 -0700 Subject: [PATCH] feat(dart/transform): Mark Compiler as Injectable Necessary to allow runtime access via the `Injector` --- modules/angular2/src/core/compiler/compiler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/angular2/src/core/compiler/compiler.js b/modules/angular2/src/core/compiler/compiler.js index 89d54d39f9..05f66b68f4 100644 --- a/modules/angular2/src/core/compiler/compiler.js +++ b/modules/angular2/src/core/compiler/compiler.js @@ -41,6 +41,7 @@ export class CompilerCache { } +@Injectable() export class Compiler { _reader: DirectiveMetadataReader; _compilerCache:CompilerCache;