Mastermind Game and Solver using AngularJs