start trying out angular resource, put not quite there yet