generic angular service & backend controllers
routing and code fixes