ManageIQ.angular.app.controller('vmCloudResizeFormController', ['$http', '$scope', 'vmCloudResizeFormId', 'objectId', 'miqService', function($http, $scope, vmCloudResizeFormId, objectId, miqService) {
  var vm = this;

  var init = function() {
    vm.vmCloudModel = {
      flavor_id: null,
    };
    vm.flavors = [];
    vm.vmCloudResizeformId = vmCloudResizeFormId;
    vm.objectId = objectId;

    ManageIQ.angular.scope = vm;

    vm.newRecord = vmCloudResizeFormId == 'new';

    $http.get('/vm_cloud/resize_form_fields/' + vmCloudResizeFormId + '?objectId=' + vm.objectId)
      .then(getResizeFormData)
      .catch(miqService.handleFailure);
  };

  $scope.cancelClicked = function() {
    miqService.sparkleOn();
    var url = '/vm_cloud/resize_vm/' + vmCloudResizeFormId + '?button=cancel';
    miqService.miqAjaxButton(url, {objectId: vm.objectId});
  };

  $scope.submitClicked = function() {
    miqService.sparkleOn();
    var url = '/vm_cloud/resize_vm/' + vmCloudResizeFormId + '?button=submit';
    miqService.miqAjaxButton(url, {
      objectId: vm.objectId,
      flavor_id: vm.vmCloudModel.flavor_id});
  };

  function getResizeFormData(response) {
    var data = response.data;
    vm.flavors = data.flavors
    vm.vmCloudModel.flavor_id = data.flavor_id
    vm.modelCopy = angular.copy(vm.vmCloudModel);
    miqService.sparkleOff();
  };

  init();
}]);

@@ -320,29 +320,16 @@
 %0A    vm.
-vmCloudResize
 formId =
@@ -430,36 +430,26 @@
 wRecord = vm
-CloudResizeF
+.f
 ormId == 'ne
@@ -499,36 +499,26 @@
 ields/' + vm
-CloudResizeF
+.f
 ormId + '?ob
@@ -721,36 +721,26 @@
 ze_vm/' + vm
-CloudResizeF
+.f
 ormId + '?bu
@@ -926,28 +926,18 @@
 m/' + vm
-CloudResizeF
+.f
 ormId + 

Use vm.formId instead of vmCloudResizeFormId for consistency sake