| $scope.switchSorting = function() { | |
| if ($scope.sorting === '-status') { | |
| return $scope.sorting = '+status'; | |
| } else { | |
| return $scope.sorting = '-status'; | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
cesarandreu commentedDec 7, 2014