
If these sources are excluded from project, then you only need to configure AngularJS as a JavaScript library. If you already have Angular sources in your project (for example, in the bower_components folder), just open your project and start working. Start with an existing AngularJS application In the embedded Terminal ( Alt+F12), type bower install angular to install the package as a project dependency. Install AngularJS in an empty project with Bower Learn more from Configure JavaScript libraries. This version is helpful in the production environment because the file size is significantly smaller. If you added the minified, select Release. This version is helpful in the development environment, especially for debugging.

In the Type field, specify which version you have downloaded and are going to add. JetBrains Rider returns to the New Library dialog where the Name read-only field shows the name of the selected files or folder. Select the Angular.js, or, or an entire directory in the dialog that opens. In the New Library dialog that opens, specify the name of the library.Ĭlick the Add button ( ) next to the list of library files and select Attach Files or Attach Directories, depending on whether you need separate files or an entire folder.

In the Libraries area, click the Add button. In the Settings/Preferences dialog ( Ctrl+Alt+S), go to Languages & Frameworks | JavaScript | Libraries. Install and configure AngularJS in an empty solution manuallyĬonfigure AngularJS as a JetBrains Rider JavaScript library, to let JetBrains Rider recognize AngularJS-specific structures and provide full coding assistance: You can install AngularJS in a solution either manually, by downloading the AngularJS framework, or using the Bower package manager. To open an application that is organized in the directory structure and does not have a solution file, press Ctrl+P, O or choose from the main menu, and then specify the root folder of the application. Make sure the JavaScript and TypeScript and Angular and AngularJS required plugins are enabled on the Settings | Plugins page, tab Installed, see Managing plugins for details. Before you startĭebugging of Angular applications is only supported with Node.js version 16 and earlier. For AngularJS entities, use the Go To Symbol navigation. You can use built-in AngularJS live templates and navigate between the name of a controller in HTML and its definition in JavaScript or between ngView or &routeProvider and the template.

JetBrains Rider suggests AngularJS-aware completion options for predefined and custom ng directives and for controller and application names, as well as code insights for data bindings inside curly-brace expressions. AngularJS also known as Angular 1 is a framework for developing single page web applications.
