add file-upload example code from angularjs pdf