fixed a few things got angular working with ruby