ConnectCtrl.js 312 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 angular.module('ConnectCtrl', []).controller('ConnectController', ['$scope', 'SessionService', function ($scope, SessionService) { $scope.connect = { connect: function () { SessionService.connect($scope.connect.login, $scope.connect.pass) } } } ]);