Merge pull request #11335 from civicrm/4.7.28-rc
[civicrm-core.git] / js / Common.js
index 691df6c15e222b651ce25c73fe6e1aa073c3e41e..15f3528b2d6ebe0a41911306dfe0b52890c946f7 100644 (file)
@@ -1592,6 +1592,10 @@ if (!CRM.vars) CRM.vars = {};
     return format.replace(/1.*234.*56/, result);
   };
 
+  CRM.angRequires = function(name) {
+    return CRM.angular.requires[name] || [];
+  };
+
   CRM.console = function(method, title, msg) {
     if (window.console) {
       method = $.isFunction(console[method]) ? method : 'log';