$resource decorator adds .$cache with options.cache