Jump to content
clkat

some Angular examples are broke

Recommended Posts

some of the Angular examples don't work with current version of angular.js

the example at http://www.w3schools.com/angular/tryit.asp?filename=try_ng_controller

works fine until you change the version from 1.2.26 to 1.3.11

 

so change the line

<script src= "http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script>

to

<script src= "http://ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular.min.js"></script>

This also applies to other examples that use controllers.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...