Deprecation warning for AngularLoader
When using this extension in CiviCRM 5.40+ you get a deprecation warning:
User deprecated function: Deprecated function Civi\Angular\AngularLoader::setModules, use addModules. in CRM_Core_Error::deprecatedFunctionWarning() (line 1044 of /var/www/html/sites/all/modules/civicrm/CRM/Core/Error.php).
User deprecated function: Deprecated function Civi\Angular\AngularLoader::load, use angularjs.loader service. in CRM_Core_Error::deprecatedFunctionWarning() (line 1044 of /var/www/html/sites/all/modules/civicrm/CRM/Core/Error.php).
I believe that this relates to the following lines:
The background to this change is in this core PR: https://github.com/civicrm/civicrm-core/pull/20628