code: function (element, originator) {
        var zoomTemplate = "translate3d( {centerX}px, {centerY}px, 0 ) scale( {scaleX}, {scaleY} )";
        var buildZoom = angular.bind(null, $mdUtil.supplant, zoomTemplate);
  
        return buildZoom(self.calculateTransformValues(element, originator));
      }
docs: Calculate the zoom transform from dialog to origin.
  
  We use this to set the dialog position immediately;
  then the md-transition-in actually translates back to
  `translate3d(0,0,0) scale(1.0)`...
  
  NOTE: all values are rounded to the nearest integer