Added angular-resource
Some improvements

I don't remember what I did exactly.