A Tetris game code by angularJS