HTML5 Game based on AngularJS