diff --git a/modules/angular2/src/change_detection/change_detection_jit_generator.ts b/modules/angular2/src/change_detection/change_detection_jit_generator.ts index 0af7db046d..98f4876496 100644 --- a/modules/angular2/src/change_detection/change_detection_jit_generator.ts +++ b/modules/angular2/src/change_detection/change_detection_jit_generator.ts @@ -285,7 +285,7 @@ export class ChangeDetectorJITGenerator { `; if (r.isPureFunction()) { - var condition = `${this._changeNames.join(" || ")}`; + var condition = r.args.map((a) => this._changeNames[a]).join(" || "); return `if (${condition}) { ${check} }`; } else { return check;