dist/oauth-ng.js
function(){
    var curHash = $location.hash();
    angular.forEach(hashFragmentKeys,function(hashKey){
      var re = new RegExp('&'+hashKey+'(=[^&]*)?|^'+hashKey+'(=[^&]*)?&?');
      curHash = curHash.replace(re,'');
    });

    $location.hash(curHash);
  }
function(){
    var curHash = $location.hash();
    angular.forEach(hashFragmentKeys,function(hashKey){
      var re = new RegExp('&'+hashKey+'(=[^&]*)?|^'+hashKey+'(=[^&]*)?&?');
      curHash = curHash.replace(re,'');
    });

    $location.hash(curHash);
  }
function ( ) { var curHash = $location . hash ( ) ; angular . forEach ( hashFragmentKeys , function ( hashKey ) { var re = new RegExp ( '&' + hashKey + '(=[^&]*)?|^' + hashKey + '(=[^&]*)?&?' ) ; curHash = curHash . replace ( re , '' ) ; } ) ; $location . hash ( curHash ) ; }
Remove the oAuth2 pieces from the hash fragment
Remove the oAuth2 pieces from the hash fragment