Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: patcito
The AngularJS guys already answered that one: http://blog.ricodigo.com/blog/2012/10/14/announcing-the-release-of-angularjs-scaffold/#comment-686036118
"wrt ng-click=”archive()” which is mixing html with app logic - where is the logic? it's archive is just a hook to the controller which defines the logic.
ng-click=”archive()” which is mixing html with app logic
I'm absolutely against logic in the templates, but we have to distinguish between the actual code that represents the business logic and a hook that calls a routine with the business logic."
I've released angularjs_scaffold to help you develop your app with angularjs and rails (it generates angular's models, controllers and views) https://github.com/patcito/angularjs_scaffold