AngularJS Unable to display upload file logs [duplicate]
问题 This question already has answers here : ng-model for `<input type=“file”/>` (with directive DEMO) (12 answers) Closed 24 days ago . I am trying to create a file upload function using angularjs which will just accept the file and send it to the server side (Django). To ensure the file upload function is working fine, I've placed multiple console.log in multiple locations. However, none of the logs are displayed. This are my codes: .html: <body ng-app="myApp" ng-controller="appCtrl"> <input