demo for rails3 & angularjs