Conway's Game of Life written in Angular.js