AngularJs MineSweeper