Visit AngularJS NES Home Page

AngularJS UI Router

How to incorporate AngularJS 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

For those using uirouter-angularjs 0.4.x

If your project requires the use of v0.4.x you may refer to the FIRST package.json below, the two that follow are for our newer v1.1.x

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

package.json
{
  "dependencies": {
    "@uirouter/angularjs": "npm:@neverendingsupport/uirouter-angularjs@1.1.1-ui-router-1.1.4",
    "@uirouter/core": "npm:@neverendingsupport/uirouter-core@6.1.1-core-6.1.5"
  },
  "overrides": {
    "@uirouter/angularjs": { ".": "npm:@neverendingsupport/uirouter-angularjs@1.1.1-ui-router-1.1.4" },
    "@uirouter/core": { ".": "npm:@neverendingsupport/uirouter-core@6.1.1-core-6.1.5" }
  }
}
For Clarification

The above instructions apply if you are using the new, scoped UI Router packages. If you are still using the old, unscoped angular-ui-router package, then substitute with the following:

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

Create an .npmrc file with the following

Replace <NES_ACCESS_TOKEN> with your access token.

.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

/bin/sh
npm install

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

Additional Information

Direct Download URLs

The direct download URLs for AngularJS UI Router NES are:

PackageURL
uirouter-angularjs
0.4.3-ui-router-0.4.6
Download
uirouter-angularjs
1.1.1-ui-router-1.1.4
Download
uirouter-core
6.1.1-core-6.1.5
Download
    Morty Proxy This is a proxified and sanitized view of the page, visit original site.