Index: /branches/amp_3_7/src/webui/webui/htdocs/new/src/client/app/modules/configuration/modal/config.backup.controller.js
===================================================================
--- /branches/amp_3_7/src/webui/webui/htdocs/new/src/client/app/modules/configuration/modal/config.backup.controller.js	(revision 2502)
+++ /branches/amp_3_7/src/webui/webui/htdocs/new/src/client/app/modules/configuration/modal/config.backup.controller.js	(working copy)
@@ -1,5 +1,5 @@
 angular.module('cm.config')
-.controller('backupCtrl', [
+.controller('configBackupCtrl', [
     '$scope',
     '$rootScope',
     '$state',
@@ -58,3 +58,4 @@
 
     }
 ])
+
Index: /branches/amp_3_7/src/webui/webui/htdocs/new/src/client/app/modules/configuration/modal/config.backup.html
===================================================================
--- /branches/amp_3_7/src/webui/webui/htdocs/new/src/client/app/modules/configuration/modal/config.backup.html	(revision 2502)
+++ /branches/amp_3_7/src/webui/webui/htdocs/new/src/client/app/modules/configuration/modal/config.backup.html	(working copy)
@@ -1,6 +1,7 @@
 <div>
     <div class="modal-header">
-        <button type="button" class="close" ng-click="backup.close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>
+        <button type="button" class="close" ng-click="configBackup.close()" aria-label="Close"><span aria-hidden="true">&times;</span>
+        </button>
         <h6><i class="array-backup"></i>{{ 'Backup Configuration' | T}}</h6>
 
     </div>
@@ -9,14 +10,16 @@
             <div class="form-group">
                 <label for="comment" class="col-md-3 control-label">{{ 'Comment' | T }}</label>
                 <div class="col-md-8">
-                    <input type="text" class="form-control" ng-model="backup.comment" maxlength="32">
+                    <input type="text" class="form-control" id="comment" ng-model="configBackup.comment" maxlength="32">
                 </div>
             </div>
 
             <div class="form-group">
                 <div class="col-md-offset-3 col-md-9">
-                    <button class="btn btn-primary" ng-click="backup.submit()" id="backupSubmit">{{ 'Backup' | T}}</button>
-                    <button class="btn btn-default" ng-click="backup.close()">{{ 'Cancel' | T}}</button>
+                    <button class="btn btn-primary" ng-click="configBackup.submit()" id="backupSubmit">
+                        {{ 'Backup' | T}}
+                    </button>
+                    <button class="btn btn-default" ng-click="configBackup.close()">{{ 'Cancel' | T}}</button>
                 </div>
             </div>
         </form>
@@ -24,10 +27,3 @@
 
 </div>
 
-<style>
-    .modal-dialog {
-        margin-top: 30px;
-        width: 600px;
-    }
-
-</style>
Index: /branches/amp_3_7/src/webui/webui/htdocs/new/src/client/app/modules/configuration/tabs/device.controller.js
===================================================================
--- /branches/amp_3_7/src/webui/webui/htdocs/new/src/client/app/modules/configuration/tabs/device.controller.js	(revision 2502)
+++ /branches/amp_3_7/src/webui/webui/htdocs/new/src/client/app/modules/configuration/tabs/device.controller.js	(working copy)
@@ -299,7 +299,7 @@
             }
 
             configDeviceViewModal.cloneDeviceConfig = function (config) {
-                
+
                 var data = {
                     name: config.name,
                     type: 'device',
@@ -340,8 +340,8 @@
                 //backup xxx.tar file on device to cm
                 var modalInstance = $uibModal.open({
                     templateUrl: 'app/modules/configuration/modal/config.backup.html',
-                    controller: 'backupCtrl',
-                    controllerAs: 'backup',
+                    controller: 'configBackupCtrl',
+                    controllerAs: 'configBackup',
                     resolve: {
                     }
                 });
@@ -370,3 +370,4 @@
 
         }
     ])
+
