首页 > angularjs 从1.2.9 到1.3的主要变动是什么

angularjs 从1.2.9 到1.3的主要变动是什么



<html ng-app='Demo'>
<head>
    <script src="https://code.angularjs.org/1.3.0/angular.min.js"></script>

</head>
<body ng-controller="PhoneListCtrl">

  <ul>
    <li ng-repeat="phone in phones">
      {{phone.name}}
    <p>{{phone.snippet}}</p>
    </li>
  </ul>

  <script type="text/javascript">
var app = angular.module('Demo', [], function(){ });

app.controller('PhoneListCtrl',function($scope) {
  $scope.phones = [
    {"name": "Nexus S",
     "snippet": "Fast just got faster with Nexus S."},
    {"name": "Motorola XOOM™ with Wi-Fi",
     "snippet": "The Next, Next Generation tablet."},
    {"name": "MOTOROLA XOOM™",
     "snippet": "The Next, Next Generation tablet."}
  ];    
    
    
});


 </script>

opera10 浏览器上面的代码在 angularjs-1.2.9 下面运行正常 换成1.3.0就不显示了


不再支持ie8,增加对input type date的支持 ng-model绑定的必须是date对象


挺长的,自己看吧
https://github.com/angular/angular.js/bl...

【热门文章】
【热门文章】