A backgammon game coded with AngularJS