Search...
Toggle theme

Angular UI Router

How to incorporate Angular UI Router into your project

Minimum Requirements

Please review our Minimum Requirements to ensure a smooth installation. Then follow 3 easy steps:

  1. Update your package.json
  2. Create or update your .npmrc file
  3. Install & Run!

Detailed Instructions

Substitute the AngularJS UI Router dependencies in your package.json with the following

package.json
{
  "dependencies": {
    "angular-ui-router": "npm:@neverendingsupport/angularjs-essentials@0.4.2-uirouter-angularjs-0.4.3"
  },
  "overrides": {
    "angular-ui-router": { ".": "npm:@neverendingsupport/angularjs-essentials@0.4.2-uirouter-angularjs-0.4.3" }
  }
}

package.json
{
  "dependencies": {
    "@uirouter/angularjs": "npm:@neverendingsupport/angularjs-essentials@1.1.1-uirouter-angularjs-1.1.2",
    "@uirouter/core": "npm:@neverendingsupport/angularjs-essentials@6.1.1-uirouter-core-6.1.3"
  },
  "overrides": {
    "@uirouter/angularjs": { ".": "npm:@neverendingsupport/angularjs-essentials@1.1.1-uirouter-angularjs-1.1.2" },
    "@uirouter/core": { ".": "npm:@neverendingsupport/angularjs-essentials@6.1.1-uirouter-core-6.1.3" }
  }
}
package.json
{
  "dependencies": {
    "angular-ui-router": "npm:@neverendingsupport/angularjs-essentials@1.1.1-uirouter-angularjs-1.1.2"
  },
  "overrides": {
    "angular-ui-router": { ".": "npm:@neverendingsupport/angularjs-essentials@1.1.1-uirouter-angularjs-1.1.2" },
    "@uirouter/angularjs": { ".": "npm:@neverendingsupport/angularjs-essentials@1.1.1-uirouter-angularjs-1.1.2" },
    "@uirouter/core": { ".": "npm:@neverendingsupport/angularjs-essentials@6.1.1-uirouter-core-6.1.3" }
  }
}

Create an .npmrc file with the following

Replace <NES_ACCESS_TOKEN> with either your access token or a valid email

.npmrc
@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<NES_ACCESS_TOKEN>

Install your dependencies and run the service

.npmrc
npm install

And just like that, you can run your integration tests against AngularJS UI Router NES!

Additional Information

The direct download URLs for AngularJS UI Router NES are

Package NameLatest NES VersionDirect Download Link
angular-ui-router0.4.3, 1.1.2Download v0.4
Download v1.1
uirouter-core6.1.3Download