git clone https://github.com/ugorelik/ng-todocd ng-todobundlegit checkout starting-pointrake db:migraterails sopen http://localhost:3000/ # mac only
git clone https://github.com/ugorelik/ng-todo
cd ng-todo
bundle
git checkout starting-point
rake db:migrate
rails s
open http://localhost:3000/ # mac only
Requires ruby 1.9.2+ and we'll mostly be working with the following files:
app/views/pages/show.html.erbapp/lib/assets/javascripts/angular/_ng_module.jsapp/lib/assets/javascripts/angular/controllers/todo_ctrl.js
app/views/pages/show.html.erb
app/lib/assets/javascripts/angular/_ng_module.js
app/lib/assets/javascripts/angular/controllers/todo_ctrl.js
Rails 4.0
erb templates
By Uri Gorelik
A presentation I did for Ottawa's JavsScript Meetup.