use hash instead of title for the mongoDB _id
add CORS compliance, dev ngResource