size of an array in angular js code example Example 1: angular size of array {{ names.length }} Example 2: angular size of array $scope.names.length