Conway's Game of Life with angular.js