HTML5 sample game using Angular.JS