```coffeescript
Sprangular.service "Orders", ($http) ->

  service =
    find: (number) ->
      $http.get("/api/orders/#{number}")
        .then (response) ->
          Sprangular.extend(response.data, Sprangular.Order)

    all: ->
      $http.get("/api/orders")
        .then (response) ->
          Sprangular.extend(response.data, Sprangular.Order)

  service
```

Refactor loading of order responses
user
```coffeescript
Sprangular.service "Orders", ($http) ->

  service =
    find: (number) ->
      $http.get("/api/orders/#{number}")
        .then (response) ->
          service._loadOrder(response.data)

    all: ->
      $http.get("/api/orders")
        .then (response) ->
          _.map response.data, (record) ->
            service._loadOrder(record)

    _loadOrder: (data) ->
      order = new Sprangular.Order
      order.load(data)

  service
```
assistant