This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
M2OLA/frontend/app/scripts/controllers/login.js

27 lines
499 B
JavaScript
Executable File

(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('studentSpace');
}
// Private methods ------------------
});
})();