scaffolded controller for BlogPosts + angularjs