Added getPostList provider and postList directive