angular most efficient way to loop through list code example Example: javascript best way to loop through array var len = arr.length; while (len--) { // blah blah }