| 1 | <?php |
| 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 |
| 5 | |
| 6 | // ODDITY: Only loads if you have CiviMail permissions. |
| 7 | // ODDITY: Extra resources loaded via CRM_Mailing_Info::getAngularModules. |
| 8 | |
| 9 | return [ |
| 10 | 'ext' => 'civicrm', |
| 11 | 'js' => [ |
| 12 | 'ang/crmMailing.js', |
| 13 | 'ang/crmMailing/*.js', |
| 14 | ], |
| 15 | 'css' => ['ang/crmMailing.css'], |
| 16 | 'partials' => ['ang/crmMailing'], |
| 17 | 'requires' => ['crmUtil', 'crmAttachment', 'crmAutosave', 'ngRoute', 'ui.utils', 'crmUi', 'dialogService', 'crmResource'], |
| 18 | ]; |