add angular directive to page links