First rudimentary cut at Minesweeper in angular js