Adding angular $log on downloadFile utils