Skip to content

Instantly share code, notes, and snippets.

/gist:5676424f1133d8069f16 Secret
Created Dec 7, 2014

Embed
What would you like to do?
$scope.switchSorting = ->
if $scope.sorting == '-status'
$scope.sorting = '+status'
else
$scope.sorting = '-status'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.