A simple AngularJS based billiard game