consolidated controllers handling posts into one ext controller that vie...

...ws and directives can share

jslinted posts.controller.js