auth.controller.js
340 Bytes
(function() {
'use strict';
angular
.module('noosferoApp')
.controller('AuthController', AuthController);
/** @ngInject */
function AuthController(noosfero, $log, $stateParams, AuthService) {
var vm = this;
vm.credentials = {};
vm.login = function() {
AuthService.login(vm.credentials);
}
}
})();