how to set lenght of array angular 11 code example Example 1: angular size of array {{ names.length }} Example 2: length array angular {{ cols?.length || '0' }}