While Angular offers the ng
shortcut for directives in markup, I am curious about how to implement this in JavaScript code. For example, instead of writing angular.isArray
, is it possible to use ng.isArray
similar to jQuery ($) or Underscore (_)?