Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
File upload issue in Angularjs,Html using State managements
Bharath Peggem
Sep 7 2017 3:39 AM
224
Reply
Hi,
Please help me out, when i'm trying to upload image in upload function in angularjs with html page. see the below code
<input type=
"file"
name=
"file"
id=
"RequestAttachment"
onchange=
"angular.element(this).scope().SelectedFileUpload(this.files)"
/>
above code working fine first image first-time upload, then I will upload again the first image to second image upload, second-time image not getting. it's through an error like
Uncaught TypeError: angular.element(...).scope(...).SelectedFileUpload is not a function
HTMLInputElement.onchange
I'm using state managements also ui-routing.
Thanks,
Bharath peggem
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
display data angular 4
crud with angular js in dot net