Added ngResource as a dependancy