I'm learning javascript and Angular.js with a little othello game