diff --git a/modules/angular2/src/di/binding.ts b/modules/angular2/src/di/binding.ts index 37a0bcfc21..32f5d5376e 100644 --- a/modules/angular2/src/di/binding.ts +++ b/modules/angular2/src/di/binding.ts @@ -397,8 +397,8 @@ export class BindingBuilder { * * ```javascript * var injector = Injector.resolveAndCreate([ - * bind(Number).toFactory(() => { return 1+2; }}), - * bind(String).toFactory((v) => { return "Value: " + v; }, [Number] }) + * bind(Number).toFactory(() => { return 1+2; }), + * bind(String).toFactory((v) => { return "Value: " + v; }, [Number]) * ]); * * expect(injector.get(Number)).toEqual(3);