yu.pitomets
yu.pitomets

Reputation: 1840

AngularJS error when added as script

I just added those srcipt to my web page and has en error.

 <script type="text/javascript" src="https://code.angularjs.org/1.3.0-rc.1/angular.js"></script>
 <script type="text/javascript" src="https://code.angularjs.org/1.3.0-rc.1/angular-route.js"></script>

This is exact my example and it works on Fiddle. http://jsfiddle.net/frbrn32d/2/

junk after document element main.html:6
DOMException [NS_ERROR_DOM_BAD_URI: "Access to restricted URI denied"
code: 1012
nsresult: 0x805303f4
location: https://code.angularjs.org/1.3.0-rc.1/angular.js:9032]

Upvotes: 0

Views: 1735

Answers (1)

CMR
CMR

Reputation: 163

Check out your fiddle. I made a change and it seems to be working. You had a typo there. It should be alert not alerT.

http://jsfiddle.net/1mjgf4u8/3/

Upvotes: 1

Related Questions