       Request.query query, (requests) ->
         $scope.requests = requests._items
     $scope.filterStatus()
+
   .controller 'RequestTriageCtrl', ($scope, $http, $routeParams, $filter, Request, Waterpoint, flash) ->
     Request.get id: $routeParams.id, (request) ->
       if request.expected_datetime

          console.log "Failed to create request", request
          for field, message of request._issues.attribute
            flash.error = "#{field}: #{message}"
  .controller 'RequestListCtrl', ($scope, Request) ->
    $scope.status = 'open'
    $scope.filterStatus = () ->

          if status == 200 and data._status == 'ERR'
            for field, message of data._issues
              flash.error = "#{field}: #{message}"

  .controller 'RequestCreateCtrl', ($scope, $location, Request, RequestForm, flash) ->
    $scope.formTemplate = RequestForm 'wps001', $location.search()
    # FIXME: Should not hardcode the service code here
