www/app/app.js
/**
   * @desc Call a factory to try disconnect user
   * @function _signout
   */
@desc Call a factory to try disconnect user
@function _signout
@desc Call a factory to try disconnect user @function _signout
function _signout() {
    authenticateWebApi.logout().then(function () {
      $rootScope.user = null;
      delete $localStorage.token;
      $state.go('home');
    }, function () {
    });
  }
function _signout ( ) { authenticateWebApi . logout ( ) . then ( function ( ) { $rootScope . user = null ; delete $localStorage . token ; $state . go ( 'home' ) ; } , function ( ) { } ) ; }
@desc Call a factory to try disconnect user
 @function _signout
@desc Call a factory to try disconnect user @function _signout