A ranking system for Magic: The Gathering matches to get in touch with AngularJS