Directive

Encapsulated the html stuff into a directive to be able to have multiple uploaders on one site and minimize the needed html code.