mirror of
https://github.com/Foltik/Shimapan
synced 2025-04-15 21:55:10 -04:00
11 lines
389 B
JavaScript
11 lines
389 B
JavaScript
angular.module('LoginComp', ['AuthSvc']).component('loginComponent', {
|
|
templateUrl: '/views/shimapan/login-form.html',
|
|
controller: ['$scope', 'AuthService', function ($scope, AuthService) {
|
|
$scope.login = function () {
|
|
AuthService.login({
|
|
username: $scope.username,
|
|
password: $scope.password
|
|
});
|
|
};
|
|
}]
|
|
}); |