update markdown directive to use $watch
create directive to display issue icon type (pull request vs issue)