Blame view

public/js/controllers/ConnectCtrl.js 312 Bytes
8bb442a5   Geoffrey PREUD'HOMME   Possibilité de se...
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)
              }
          }
      }
  ]);