Given this code:
Header inputs:
You can create directive which you can then attach to . Check this jsfiddle
. Check this jsfiddle
http://jsfiddle.net/dzjV4/2/
Note that I added to and linked it with link at the bottom
and linked it with link at the bottom