add ngresource
convert service to
INCOMPLETE: mocking