Posts resource and angular gem
convert to haml
first angular controller set up
posts as a resource