AngularJS entry (use the ng-repeat command to implement cyclic output, angularjsng-repeat
Loop output list many projects are implemented on the web server. After templates are prepared on the front end, jsp code is written on the back end. Both parties need to work closely together to clarify their responsibilities. Some projects provide restful methods by the backend, And the frontend uses ajax to call its own loop. This is usually a large number of jquery strings, which is too intuitive. Some people have developed js templates and it is not good to go anywhere.
AngularJS is much better. The syntax is similar to JSP:
<! Doctype html>
The ng-repeat command lives on the elements that need to be recycled. The variable names on the items correspond to those on the controller, and the item is the alias of a single object in the array. $ Index returns the serial number of the currently referenced object, starting from 0. In addition, $ first, $ middle, and $ last can return boolean values, it is used to tell you whether the current element is the last element in the middle of the first set.