change angular templateUrl rules for posts.