function getSpinnerCircumference(diameter, strokeWidth) {
    return ((diameter - strokeWidth) * $window.Math.PI);
  }
Return circumference of the spinner

@param {number} diameter Diameter of the container.
@param {number} strokeWidth Stroke width to be used when drawing circle

@returns {number} Circumference of the spinner