my take on pacman game. using angular.js