change angular resource url