TG-118 : move OLA/.gitignore to OLA/backend/gitignore (import scripts file)

This commit is contained in:
mpenchenat
2017-03-13 15:44:34 +01:00
parent 33644596ec
commit ab583fb496
5 changed files with 141 additions and 0 deletions

View File

@ -0,0 +1,27 @@
(function () {
'use strict';
/**
* @ngdoc function
* @name frontendApp.controller:MainCtrl
* @description
* # MainCtrl
* Controller of the frontendApp
*/
angular.module('clientApp')
.controller('LoginCtrl', function ($scope, $state) {
$scope.login = login;
// Public methods -------------------
function login() {
console.log('login');
$state.go('userspace');
}
// Private methods ------------------
});
})();

View File

@ -0,0 +1,22 @@
(function () {
'use strict';
angular.module('clientApp')
.controller('UserSpaceCtrl', ['$scope', '$state',
function ($scope, $state) {
init();
// ---------------------------------------------------------------
function init() {
}
// ---------------------------------------------------------------
// Public method -------------------------------------------------
// ---------------------------------------------------------------
}]);
})();