                             (* $scope.usersPerPage $scope.currentPage)))))
 
   (! $scope.loadUsers (fn []
+                        (! $scope.isSearch false)
                         (! $scope.usersLoaded "loading")
                         (-> $http
                             (.get (str "/api/users/" $scope.usersPerPage "/" $scope.currentPage))

                       ($scope.loadUsers)
                       (do
                         (! $scope.usersLoaded "loading")
                         (! $scope.showPaging false)
                         (-> $http
                             (.get (str "/api/user/search/" $scope.query))

(ns traveler.ng.core
  (:use-macros [purnam.core :only [!]]
               [gyr.core :only [def.module def.controller def.directive]]))

