setAngle(angle) {
    const oldAngle = this.getCurrentAngle() % 360; // The angle is lower than 2*PI(===360 degrees)

    angle %= 360;

    const canvasImage = this.getCanvasImage();
    const oldImageCenter = canvasImage.getCenterPoint();
    canvasImage.set({ angle }).setCoords();
    this.adjustCanvasDimension();
    const newImageCenter = canvasImage.getCenterPoint();
    this._rotateForEachObject(oldImageCenter, newImageCenter, angle - oldAngle);

    return Promise.resolve(angle);
  }
Set angle of the image

 Do not call "this.setImageProperties" for setting angle directly.
 Before setting angle, The originX,Y of image should be set to center.
     See "http://fabricjs.com/docs/fabric.Object.html#setAngle"

@param {number} angle - Angle value
@returns {Promise}