angularjs-in-action / angello

MIT License
247 stars 136 forks source link

Fix dashboard regression #9

Closed BinaryMuse closed 10 years ago

BinaryMuse commented 10 years ago

The regression in the dashboard is due to two things:

  1. The use of objects instead of arrays and
  2. The use of promises from the services

This is a bit of a hack, but I want to chat with you about the direction you want to take this solution. An alternative would be to $watch the array and re-plot when it changes, and then just assign an array to the scope inside the controller (from a then call).