$ git clone git@github.com:ga-dc/grumblr_angular.git
$ git checkout -b controllers-and-directives origin/controllers-and-directives
$ bower install
$ git checkout -b controllers-and-directives origin/controllers-and-directives
For homework tonight, please add CRUD functionality for comments to this application.
Start by adding some seed data to the grumbles controller: https://github.com/ga-dc/grumblr_angular/blob/controllers-and-directives/js/controllers/grumbles.js#L4
Then display the comments on the page using ng-repeat
Allow the user to toggle a new and edit form for comments. When the user submits the form, add or remove the comment from this.grumbles
in the controller.
$ git checkout -b controllers-and-directives-with-comments origin/controllers-and-directives-with-comments
Using the angular router requires a local server using http (not the file://
protocol.)
$ python -m SimpleHTTPServer
$ git checkout -b controllers-and-directives-with-comments origin/controllers-and-directives-with-comments
$ bower install
$ git checkout -b templating-and-routing origin/templating-and-routing
$ git checkout -b templating-and-routing origin/templating-and-routing
$ git checkout -b templating-and-routing-with-comments origin/templating-and-routing-with-comments
$ git checkout -b templating-and-routing-with-comments origin/templating-and-routing-with-comments
$ git checkout -b firebase-and-directives origin/firebase-and-directives
$ git checkout -b firebase-and-directives origin/firebase-and-directives