refactor and delete of posts
empty state
fixed scope problem in nested directives