Questions tagged [ng-file-upload]

Lightweight AngularJS directive to upload files.

Lightweight AngularJS directive to upload files with optional FileAPI shim for cross browser support

Features:

  • file upload progress, cancel/abort
  • file drag and drop and paste images (html5 only)
  • resumable uploads: pause/resume upload (html5 only)
  • image resize (html5 only)
  • validation on file type/size, image width/height, video/audio duration and ng-required support.
  • show thumbnail or preview of selected images/audio/videos
  • supports CORS and direct upload of file's binary data using Upload.$http()
  • plenty of sample server side code, available on nuget
  • on demand flash FileAPI shim loading no extra load for html5 browsers.
  • HTML5 FileReader shim for IE8-9

Github page: https://github.com/danialfarid/ng-file-upload

495 questions
0
votes
0 answers

Getting the HTML code in response when uploading a file in angularjs from the wamp server and storing on localhost

I am trying to upload a file on WAMP(localhost) in angularjs using this link https://github.com/danialfarid/ng-file-upload. But When I upload a file on localhost, I am receiving a html response containing HTML code of that folder(In…
deeps
  • 471
  • 4
  • 12
0
votes
0 answers

angular ng-upload-file $watch not working

I have the following codes. HTML :
Upload using model $watch
JAVASCRIPT…
jofftiquez
  • 7,548
  • 10
  • 67
  • 121
0
votes
1 answer

angularjs - ng-file-upload not binding model to dynamically created HTML form

I want to upload an image file from dynamically generated HTML form using ng-repeat. I am using ng-file-upload module to upload the single image file (https://github.com/danialfarid/ng-file-upload). When I am uploading file from static HTML its…
kishor10d
  • 543
  • 6
  • 24
0
votes
1 answer

DanialFarid Ng File Upload issue

I am using your Angular File upload (https://github.com/danialfarid/ng-file-upload#contrib) I just have Angular in my project I don’t have Bower or any other stuff. The issue that I have is all of a sudden it starts throwing the error mentioned…
user1767986
  • 89
  • 1
  • 3
  • 12
0
votes
1 answer

ng-file-upload accessing fields in php

I'm using the ng-file-upload to upload mysql via php. The coding works but I am having trouble accessing the custom fields. Does anyone know how this is accessed in php? See me code here I am adding the field description: success which I want to…
Ka Tech
  • 8,937
  • 14
  • 53
  • 78
0
votes
1 answer

Upload file asynchronously with Angular, ng-file-upload using a RESTful API

I have a form and a few of that form fields are file uploads. This is what I have: User fills the form up User selects the files to submit User presses submit Now, this is what I want to do: Post the form to server, getting back an ID Post file…
danielrvt
  • 10,177
  • 20
  • 80
  • 121
-1
votes
1 answer

TypeError: Illegal invocation at forEach when creating attachments

trying to create an attachment to the associating model, but have an error, do not know how to debug it firefox says 'forEach' called on an object that does not implement interface FormData; chrome - TypeError: Illegal invocation at forEach at copy…
ABA
  • 39
  • 1
  • 7
-1
votes
1 answer

Update select dynamically with API response data

I cannot get a select (drop-down menu) to update with a API response from ngfileupload (sheet names in the file uploaded). I can see the sheet names in what is returned in the browser but cannot get it "into" the select dropdown…
-1
votes
1 answer

I need to upload a file to server using angularJS, NodeJS and ExpressJS

I tried following this link https://ciphertrick.com/2015/12/07/file-upload-with-angularjs-and-nodejs/ but got error Node version is 4.4.7, modulerr error in ngFileUpload For file upload in app.js var multer = require('multer'); var…
Janani S
  • 21
  • 5
-1
votes
1 answer

Prevent uploading JavaScript files with ng file upload

Using the ng file upload directive I'm using ngf-accept to specify a list of allowed file types. This has disallowed many file types and they appear grey in the upload dialog but I'm still able to upload any files with a .js or a .sh…
Geraint Anderson
  • 3,234
  • 4
  • 28
  • 49
-1
votes
1 answer

Minimum supported browser(Chrome,IE,Mozilla) version?

i want to know minimum browser version required of Chrome, IE, Mozilla for each and every item listed…
-1
votes
2 answers

ngFileUpload is not injecting correctly

Well "hello all", my problem is I need to inject 'ngFileUpload' on my escuelasDeportivas.app.js. My code for doing this is: var escuelasDeportivas = angular.module('escuelasDeportivas', ['ngFileUpload']); When I run this on NetBeans and do…
Ff_Rr
  • 11
  • 1
-1
votes
1 answer

Upload multiple images on anchor click

I want to upload multiple images on anchor tag click. I am able to upload multiple images on div and image tags using ng-file-upload Can anybody please suggest me how to upload multiple images on anchor tag click.
Suresh Kota
  • 305
  • 1
  • 6
  • 19
-3
votes
2 answers

Angular creates a non native array

When I populate model.files directly in my view with my vm.files looks like this (example A): And I need like this (example B): In order to obtain example B, I…
Lev
  • 13,856
  • 14
  • 52
  • 84
-4
votes
1 answer

How can I get the url of my files uploaded from ec2

I have used HTML to upload a file to a web location. I am using…
1 2 3
32
33