working on getting angular resource working