I'm getting the following error in Chrome console,
TypeError: Cannot read property 'jquery' of undefined
Here is my javascript function,
<script type="text/javascript"> var formApp = angular.module('formApp',[]); function formController($scope,$http){ $scope.formData = {}; $scope.processForm = function(){ $http({ method : 'POST', url : 'http://localhost:8080/ABCAPI/v1/image/front', data : $.param($scope.formData.imageFile), headers : {'Content-Type': "multipart/form-data" , 'Auth-Token' : "X"} }).success(function(data){ console.log(""); if (!data.success) { // if not successful, bind errors to error variables } else { // if successful, bind success message to message $scope.message = data.message; } }) }; } </script>
What does above error means and where did I go wrong?