adjust rails and angular routing