Implementation of the MahJong game using Angular JS