AngularJS implementation of the Minesweeper game