An old game with angularjs