Updated the ionic library to the latest nightly version.
See: http://code.ionicframework.com/#nightly

Moved video upload to the "in app" background thread