how to check the length of an array in html in angular code example Example 1: angular size of array {{ names.length }} Example 2: angular size of array $scope.names.length