-3

just want to ask if it is possible to upload files (images, docs, pdf, etc.) using angularjs without actually using php script, instead all file uploads will use angularjs or javascript codes?. With this method i will be able to lessen the server load. Thanks

1
  • 1
    Nope AngularJS can't upload files without server side. Commented Jun 5, 2014 at 11:27

1 Answer 1

0

That is not possible.

AngularJS is solely a frontend framework. In order to upload something, you need to communicate with a server.

Sign up to request clarification or add additional context in comments.

1 Comment

Patrick Reck is correct. Managing / uploading files it outside of the scope of Angular's functionality. You'll find that most front-end languages and frameworks (such as Javascript itself) don't have much support for file management. You'll need some server-side code in order to handle file uploads. You may find additional plugins/libraries such as ng-flow useful. Plugins such as these rely other other technologies such as the HTML5 file API to manage file transfers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.