Solve issue of ng-file-upload issue