Refactored service API to seperate files. Ng routes readability.

Also converted tabs in ng app.js to spaces. Will do rest in next commit.
Converted tabs to spaces. Anyone reading, don't use tabs.
Hacked broken test to work. Needs fix later.