code: function throwErrorIfNoChangesMode(creationMode, checkNoChangesMode, oldValue, currValue) {
      if (checkNoChangesMode) {
          var msg = "ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '" + oldValue + "'. Current value: '" + currValue + "'.";
          if (creationMode) {
              msg +=
                  " It seems like the view has been created after its parent and its children have been dirty checked." +
                      " Has it been created in a change detection hook ?";
          }
          // TODO: include debug context
          throw new Error(msg);
      }
  }
docs: Throws an ExpressionChangedAfterChecked error if checkNoChanges mode is on.