Any reason why ng-repeat-start doesn't work despite using the latest angularJS version?

Question!

Does anyone know why ng-repeat-start doesn't work despite using the latest version of AngularJS?

I'm importing it form the CDN:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular-resource.min.js"></script>

Then, when I do:

<li ng-repeat-start="phone in phones">
   blabblah
</li>
<li ng-repeat-end="">
   more blahblah
</li>

it doesn't work, but when i just do

<li ng-repeat="phone in phones">
  blahblah
</li>

it works again!

Does anyone know why? I've been gnawing at this problem for days, and I just can't find the answer. Can anyone help me?

By : Hongyi Li


Answers
Versions problem. AngularJS version 1.0.8 dont support ng-repeat-start or ng-repeat-end.

Upgrade to 1.2.0-rc.2.

By : CodeHater


This video can help you solving your question :)
By: admin