experimenting with angular resource