for of loop in angular code example Example: angular for loop Click to copylet array = [1,2,3]; array.forEach(function (value) { console.log(value); });