Refactoring gameManager and gameActions into their own Angular services

Done so that they're modular rather than inline code within the controller. Neater. Not even sure if it's the 100% correct way of going about things, but as I'm new to Angular, experimentation is the only way ;)