AngularLoader - Support multiple angularjs apps running on the page
authorColeman Watts <coleman@civicrm.org>
Sat, 27 Mar 2021 00:29:15 +0000 (20:29 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 27 Mar 2021 00:29:15 +0000 (20:29 -0400)
commit9bd30577003960d454442b0ee426946d581ff875
tree52334f3282c92e7d26931d615a524b3601149645
parent7412fb8861d60763adc43385a82a88defb4d53f5
AngularLoader - Support multiple angularjs apps running on the page

This creates a service named 'angularjs.loader' to manage multiple angular apps on the page.

Because <ng-app> can only be used once per page, a new tag, <crm-angular-js> has been created.
CRM/Core/Region.php
Civi/Angular/AngularLoader.php
Civi/Core/Container.php
js/crm-angularjs-loader.js [new file with mode: 0644]