> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.itential.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server.

# AngularJS deprecated

> Deprecation notice that AngularJS is deprecated in 2023.2 and scheduled for removal in Platform 6, with guidance on migrating or self-hosting.

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](../../platform-6/breaking-changes/angular-js-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](https://itential.atlassian.net/servicedesk/customer/portals) 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

#### Install AngularJS

Install the AngularJS version previously provided by the Platform:

```bash
npm install angular@1.5.11
```

#### Create a lib directory

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

```bash
mkdir lib
```

#### Create a symbolic link

Create a symbolic link (symlink) pointing to the AngularJS files in the new directory:

```bash
ln -s ../node_modules/angular lib/angular
```

#### Register the directory

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

```json
"uiDirectories": ["lib"]
```

#### Update script references

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

```bash
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.

## Related reading

* [Angular: Security](https://angular.io/guide/security)
* [AngularJS: EOS/EOL](https://docs.angularjs.org/misc/version-support-status)