establish rails and angular