Memory game with Angular.js