AngularJS code review

Change way of loading data from factories. 
Factories/services should *always* return *promise* object. 
When data comes from the server, promise in the factory will be resolved with data from the server.
After that *then* function will be called on the promise automatically.