FS-8045 [Verto-Communicator] Make the folder structure compliant with AngularJS best practices and adjust build system.

This commit is contained in:
Joao Mesquita committed 2015-08-25 18:46:36 -03:00
1 parent 5e380bbc54
commit aadb1fb3dd
71 files changed
+1337 -1248

No files matched your search

@@ -0,0 +1,30 @@
(function() {
'use strict';
angular
.module('vertoControllers')
.controller('ModalSettingsController', ['$scope', '$http',
'$location', '$modalInstance', 'verto', 'storage',
function($scope, $http, $location, $modalInstance, verto, storage) {
console.debug('Executing ModalSettingsController.');
verto.changeData(storage);
$scope.verto = verto;
$scope.storage = storage;
$scope.ok = function() {
storage.changeData(verto);
$modalInstance.close('Ok.');
};
$scope.cancel = function() {
$modalInstance.dismiss('cancel');
};
$scope.refreshDeviceList = function() {
return verto.refreshDevices();
}
}
]);
})();