code: def angle(z, deg=False):
      out = _np.angle(z, deg=deg)
      if type(z) is float:
          return cast(out, get_default_dtype())
  
      return out
  
imports: from ._dispatch import BACKEND_NAME, _common
  from ._dispatch import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: angle(z, deg) and returns: out, cast