Simon game in angularJS