tested image Upload + resizing with angular JS, demo available at localhost:8080/test