began changing play.js into angular to function better with the rest of the app.