How to upload file in angular js?
Answer / Santosh Kumar Sah
To upload files in AngularJS, you can use the $http service or Angular's File API. The basic steps involve selecting a file input element, reading the file using FileReader, and then sending it as a POST request.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain route configuration? And explain with code?
What types of ngmodules?
How does the $resource `get` function work synchronously in angularjs ?
What is angular @ routeparams?
What is ng build command?
What an angular 5 component made of?
How to do animation with the help of AngularJS?
What are typings in angular?
what is the difference between constructor and ngoninit?
List some inbuilt pipes available in angular
What is the difference between routermodule.forroot() vs routermodule.forchild()? Why is it important?
What is impure pipe?