Client side angularjs-based code for the popular card game bang online