A little puzzle game in AngularJS