Gathering data trough to ngResource