make the footer a directive