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