Set up rails and angular