crmMailing.ang.php 608 Bytes
Newer Older
1 2 3 4 5 6 7 8
<?php
// This file declares an Angular module which can be autoloaded
// in CiviCRM. See also:
// http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_angularModules

// ODDITY: Only loads if you have CiviMail permissions.
// ODDITY: Extra resources loaded via CRM_Mailing_Info::getAngularModules.

9
return [
10
  'ext' => 'civicrm',
11
  'js' => [
12 13
    'ang/crmMailing.js',
    'ang/crmMailing/*.js',
14 15 16 17 18
  ],
  'css' => ['ang/crmMailing.css'],
  'partials' => ['ang/crmMailing'],
  'requires' => ['crmUtil', 'crmAttachment', 'crmAutosave', 'ngRoute', 'ui.utils', 'crmUi', 'dialogService', 'crmResource'],
];