AngularJS - SyntaxError: Unexpected token: error in Safari browser

I have no errors in Chrome and the website is working. But in safari, most pages do not load at all. This is the error I get:

[Error] SyntaxError: Unexpected token ':' (angular.min.js.map, line 2)

I am using the angular.min.js file that I downloaded here: https://code.angularjs.org/1.2.12/

Any ideas?

+4
source share
5 answers

You are missing the final quote after "A ;;;;; aAKC, SAAQ, CAACA, CAAD,

0
source

Chrome, JavaScript 'angular.min.js.map' . "" 404, , .

0

​​ chrome, , angular.js angular.min.js html angular.min.js.map html-.

0

angular.map.js (). "" , , , , .

0
source

Here are a few steps I took to solve this problem:
1. The order of the link to the js file
is changed. 2. The variable is set to null, I changed it to make it work.

0
source

All Articles