Removed $resource stuff

Fixes #58