Questions tagged [ng-flow]

ng-flow is an extension for AngularJS based on the Flow.js html5 file upload library.

ng-flow is an extension for AngularJS based on the Flow.js html5 file upload library.

Related Tags

  • - ng-flow is an extension for AngularJS. Use this tag for greater visibility.

Links

41 questions
9
votes
1 answer

ng-flow upload programmatically

I am currently using ng-flow to perform a file upload. It appears that the default action of selecting a file is to upload immediately. I'd like to override this so that files are selected and only uploaded on button click. Perhaps I am misreading…
Julio
  • 2,261
  • 4
  • 30
  • 56
6
votes
0 answers

Request not finishing in chrome

I try to implement a profile picture upload with angularjs and bootstrap using ng-flow module. In safari it works fine but in chrome the request just won't work. Its showing me "Caution: the request is not finished yet" Here is a screenshot: I…
Christian
  • 821
  • 1
  • 11
  • 26
4
votes
2 answers

Want to set dynamic folder name in flowFactoryProvider config to pass it to upload.php file to save the uploaded file in it

I am using this plugin ng-flow for uploading .zip file and it is working properly. I need to pass dynamic values (user_id, job_id) in it for creating dynamic folders where the files get saved but this plugin uses config method to get initialize and…
Neeraj Rathod
  • 1,609
  • 4
  • 18
  • 25
3
votes
2 answers

Slow performance in hybrid AngularJS and Angular application in Safari

I have started recently the migration of an AngularJS application to Angular 4 using the upgrade module. One of my AngularJS directives uses a third party library (ngFlow) to upload files using XMLHttpRequest.send(). When running in hybrid mode,…
Ivan
  • 1,477
  • 3
  • 18
  • 36
3
votes
3 answers

Disable chunked transfer flowjs

I am using ng-flow directive for uploading files to server. Is there a way i can use normal upload instead of chunked upload that is used in ng-flow module?
Kliment
  • 2,250
  • 3
  • 18
  • 32
2
votes
0 answers

Upload a simple image with ng-flow and AngularJS

I'm trying to use ng-flow to use an image in javascript to send it to a backend server using a RPC call. The problem is that I follow the tutorial that they have in his page , but I don't find how can access to image in a JavaScript controller…
Juan Antonio
  • 2,451
  • 3
  • 24
  • 34
2
votes
0 answers

flowjs to upload files POST request sends empty array

I'm trying to use flowjs/ng-flow to upload images but I'm not getting anything on my backend. This is the method that is supposed to receive the images in my Flask routes.py: @app.route('/api/file/upload/', methods = ['GET',…
Larissa Leite
  • 1,358
  • 3
  • 21
  • 36
2
votes
0 answers

How to bind the name of a file uploaded using ng-flow to a controller's scope, such that it can be referenced in a ng-src tag

I am trying to build an image upload functionality into my angularJS app using ngflow. I have managed to get it working such that I can upload images to my folder of choice (using php). What I now want to do is to be able to reference these images…
Jack Power
  • 303
  • 1
  • 3
  • 14
2
votes
1 answer

ng-flow file upload in web api

I have seen many examples with ng-flow having the php side server to upload the files. But as I am not an expert in php and I need some help in the webapi, can someone please help me to find a working example or tutorial of ng-flow with webapi files…
rahulmr
  • 681
  • 1
  • 7
  • 19
2
votes
2 answers

Uglify can't parse "flow.js"

I'm having an annoying issue where uglify (called through grunt-usemin) cannot parse the url for a package named flow.js. This package is installed as a dependency of ng-flow. The url looks like this: bower_components/flow.js/dist/flow.js When I…
2
votes
1 answer

ng-flow define maximum number of files

I am using ng-flow in my app, is there any way to limit the number of files for upload? A code sample:
anapap
  • 21
  • 6
1
vote
1 answer

Catching event for cancelling file selection ng-flow: file-flow-error?

I'm trying to execute some code if a user decides to cancel their file selection using ng-flow, via a Upload File button. I don't know how to catch this event I've tried using flow-file-error and flow-error directives to no avail. The code I pass in…
Drake Gens
  • 11
  • 1
1
vote
1 answer

Javascript expression: object array;

I was working with ng-flow example for basic image upload. I saw an expression which I didn't understand how it works. Basically, this is the expression:

Demo object array expression in Javascript: