asafdav / ng-s3upload

Upload to S3 using AngularJS
MIT License
190 stars 83 forks source link

Uncaught TypeError: h.match is not a function #60

Closed nithishj closed 9 years ago

nithishj commented 9 years ago

Error1: GET http://mybaseurl/function%20(elm,%20attrs)%20%7B%2…%20%20%20return%20'theme/'%20+%20theme%20+%20'.html';%20%20%20%20%20%20%7D 400 (Bad Request)

Error1 url decoded: GET http://mybaseurl/function (elm, attrs) {%2… return 'theme/' theme '.html'; } 400 (Bad Request)

Error2: Uncaught TypeError: h.match is not a function

I have loaded libraries in my index.html file and included the dependencies ngsanitize,ngs3upload in my module but i am getting the above errors and the directive template is not showing up in my page.

nithishj commented 9 years ago

My App uses a very old version angular js lib. After upgrading, it worked.