how to check the global angular version code example Example: how to check for angular cli version ng --version