Fixing $resource call in docs.