Implementation of estimation poker game in AngularJS