Java Jersey & Angularjs personal card game