diff --git a/modules/angular2/src/di/opaque_token.ts b/modules/angular2/src/di/opaque_token.ts index 3894340db0..2e0eb15759 100644 --- a/modules/angular2/src/di/opaque_token.ts +++ b/modules/angular2/src/di/opaque_token.ts @@ -1,12 +1,16 @@ +import {CONST} from 'angular2/src/facade/lang'; + /** * * * @exportedAs angular2/di */ + +@CONST() export class OpaqueToken { _desc: string; - constructor(desc: string) { this._desc = `Token(${desc})`; } + constructor(desc: string) { this._desc = 'Token(' + desc + ')'; } toString(): string { return this._desc; } -} \ No newline at end of file +}