demo for rails & angularjs