Update 05-directive.js

This PR could be discussed, but I think it's prettier this way :

Pagination should be in <tfoot> element instead of beeing throwed in a div that has no connexion with the table.

Haven't build the minified and src because I do not know how this is beeing done.