twitter server in rails, client in angularjs