cardsforhumanity/cardsforhumanity — pull request #12 by davegonzalez (2013-10-04 02:54:17+00:00)
Title: Pre-8:00 PM pull

1. Http requests reside as services. These are set up two separate factories - one for answers and one for questions. This allows the server to serve the sorted cards instead of trying to sort on the client.

2. Set up basic game logic in the Question and Answer services. The Question service will deal 1 random card while the Answers service deals 10 random cards.

3. Set up a Card Controller to serve the question/answer cards to the DOM.

4. Removed public/js/config.js file, as everything was moved into the public/js/app.js file. This allows us to remove everything out of the window scope and into an angular module. Also removed the public/js/config.js file reference from the foot.jade file.