html 5 game using angularjs