gem install rails
rails new my_app -T
| # Ignore everything | |
| /* | |
| /*/ | |
| # Inverse ignore some stuff | |
| !/Assets/ | |
| !/ProjectSettings/ | |
| !.gitignore | |
| # OS Stuff |
| // app/assets/javascripts/myapp/controllers.js | |
| function PostListCtrl($scope) { | |
| $scope.posts = [ | |
| { "title": "My First Post", "intro": "Subtitle of my post" }, | |
| { "title": "Another Post", "intro": "Something interesting about this post" }, | |
| { "title": "One More Thng", "intro": "There's always something more" } | |
| ] | |
| } | |
| // html contains <div ng-app="myapp"> |
| njero - http://neverlet.be | |
| sutto - http://blog.ninjahideout.com | |
| zapnap - http://blog.zerosum.org | |
| tpope - http://tpope.net | |
| reinh - http://reinh.com | |
| bryanl - http://smartic.us | |
| linoj - http://www.vaporbase.com | |