rails backend up and running, initial tie of angular resource to rails backend