changed upload to angular

still have stuff to fix