minesweeper game example in angularjs