AngularJS deprecated

For greater security hardening, AngularJS is deprecated in the 2023.2 release and scheduled for removal in the Platform 6 release. This deprecation will break any customizations that rely on the /lib/angular directory and the use of AngularJS in Jade/Pug templating.

See related breaking change notice: AngularJS libraries removed

What should I do?

Review all custom app UIs and custom manual tasks to determine if they rely on AngularJS and would be subject to breaking. If affected, choose one of the options below based on your environment and goals:

  • Migrate from AngularJS to a React-based UI library
  • Continue using AngularJS

Contact the Product Support Team if you need additional support or require more information.

Migrate from AngularJS to React

If any customizations are affected, consider refactoring to a React-based UI library.

Continue using AngularJS

1

Install AngularJS

Install the AngularJS version previously provided by the Platform:

$npm install angular@1.5.11
2

Create a lib directory

Create a new directory at the application root to serve the AngularJS files:

$mkdir lib
4

Register the directory

In the application’s pronghorn.json file, add the new directory as a uiDirectory:

1"uiDirectories": ["lib"]
5

Update script references

Update any references to the old Itential Platform provided AngularJS instance to the new location:

$script(src="/lib/angular/angular.min.js") → script(src="./lib/angular/angular.min.js")

Once complete, verify that existing assets, tools, and libraries work with the new setup.