game design directed toward a REST solution, UI depending on Angularjs