2 // This file declares an Angular module which can be autoloaded
3 // in CiviCRM. See also:
4 // http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_angularModules
6 $isDebug = Civi
::settings()->get('debug_enabled');
10 'js' => ['ang/crmUi.js'],
11 'partials' => ['ang/crmUi'],
12 'requires' => array_merge(
17 // Only require the +10kb if we're likely to need it.
18 $isDebug ?
['jsonFormatter'] : []