Skip to content

Instantly share code, notes, and snippets.

@thiagopnts
Created May 16, 2012 07:18
Show Gist options
  • Save thiagopnts/2708279 to your computer and use it in GitHub Desktop.
Save thiagopnts/2708279 to your computer and use it in GitHub Desktop.
$scope.hide = false;
$rootScope.$on('$afterRouteChange', function(scope, a, b) {
$scope.hide = true;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment