www/app/components/authentication/controllers/signinController.js
/**
         * @desc Get the information of form and call webservice to try sign user
         * @function _signin
         * @memberOf Controllers.LoginController
         */
@desc Get the information of form and call webservice to try sign user
@function _signin
@memberOf Controllers.LoginController
@desc Get the information of form and call webservice to try sign user @function _signin @memberOf Controllers . LoginController
function _signin() {
            $scope.loginForm.email = $scope.loginForm.email.toLowerCase();
            authenticateWebApi.signin($scope.loginForm).then(function () {
                $state.go('app.provisionalPlans');
            }, function (err) {
                $rootScope.error = 'Une erreur est survenue : ' + err;
                $state.go('signin');
            });
        }
function _signin ( ) { $scope . loginForm . email = $scope . loginForm . email . toLowerCase ( ) ; authenticateWebApi . signin ( $scope . loginForm ) . then ( function ( ) { $state . go ( 'app.provisionalPlans' ) ; } , function ( err ) { $rootScope . error = 'Une erreur est survenue : ' + err ; $state . go ( 'signin' ) ; } ) ; }
@desc Get the information of form and call webservice to try sign user
 @function _signin
 @memberOf Controllers.LoginController
@desc Get the information of form and call webservice to try sign user @function _signin @memberOf Controllers . LoginController
//@todo manage error //@todo possibly an event on flashErrorMessage