factory for posts, not directive
Merge pull request #9 from lizlongnc/dev_liz

factory for posts, not directive