Added ngResource dependency.