Blame view
app/views/login/login.controller.js
415 Bytes
5c6477d3d
|
1 2 3 4 |
'use strict'; //Load controller angular.module('inspinia') |
22d319238
|
5 |
.controller('LoginController', function ($scope, $state, LoginService) { |
5c6477d3d
|
6 7 8 9 |
$scope.user = {}; $scope.userData = function(){ |
22d319238
|
10 11 |
// LoginService.loginUser($scope.user).then(function(result) { // console.log(result) |
5c6477d3d
|
12 |
|
22d319238
|
13 14 |
// }) $state.go('index.dashboard'); |
5c6477d3d
|
15 16 17 |
} }); |