Added ngResource delete and post methods, removed thot module factory to rely more on mongoose.