working on hooking angular controllers up to views
reworking angular integration since my knowledge of angular was awfully dated; introducing api namespace to help tidy up the angular side; WIP