Blame view

public/js/controllers/ConnectCtrl.js 390 Bytes
2201e360   Geoffrey PREUD'HOMME   Le login se fait ...
1
2
3
4
5
6
7
8
9
10
11
12
  angular.module('ConnectCtrl', []).controller('ConnectController', ['$scope', 'SessionService', 'EncryptService',
    function ($scope, SessionService, EncryptService) {
      EncryptService.preload(function () {
        return undefined;
      });
      $scope.connect = {
        connect: function () {
          SessionService.connect($scope.connect.login, $scope.connect.pass);
        }
      };
    }
  ]);