simple single page app using angularjs and rails