angular animate upload and set-up