took game out of angular controller