Modified parse tags (for hashtags and mention replacement) filter to work with a directive + filter