AngularLoader - cleanup resource loading to use new service
authorColeman Watts <coleman@civicrm.org>
Tue, 25 May 2021 19:04:15 +0000 (15:04 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 27 May 2021 00:02:01 +0000 (20:02 -0400)
commitf5c157f5fd7f78d191363710446f150c48ccaa84
treeecba75cc3dfe8cfb1a03cf43d4aebb0bb68f95e7
parent2a1d9988238cc1ddcd2204cd4c575980af161f33
AngularLoader - cleanup resource loading to use new service

Use new `crm-angular-js` instead of `ng-app` to bootstrap AngularJS
Emit a deprecated warning from the old load() function to alert extension maintainers of the change.
Civi/Angular/AngularLoader.php
Civi/Angular/Page/Main.php
ext/afform/core/CRM/Afform/Page/AfformBase.php
ext/afform/core/templates/CRM/Afform/Page/AfformBase.tpl
templates/CRM/Contact/Page/DashBoardDashlet.tpl
templates/Civi/Angular/Page/Main.tpl
tests/phpunit/Civi/Angular/LoaderTest.php