Update 05-directive.js

Pagination should be in <tfoot> element instead of beeing throwed in a div that has no connexion with the table