Simple memory Game in AngularJs