NG6-starter icon indicating copy to clipboard operation
NG6-starter copied to clipboard

Update ui-router legacy import

Open bernardocs opened this issue 8 years ago • 1 comments

Hey guys!

It came to my attention (way back, actually) that the import done on the generator/component/temp.js file, which serve as scaffold to generate new components, is using a outdated module name.

Refer to this: angular-ui/ui-router/CHANGELOG.md

For the sake of keeping the project updated, changing it from:

import uiRouter from 'angular-ui-router';

to

import uiRouter from '@uirouter/angularjs';

would be right.

The reason I'm opening a issue for it, instead of a PR, is to discuss the impact of this change before going for it.

bernardocs avatar Sep 04 '17 14:09 bernardocs

Hey @bernardocs I am using ui.router version 1.0.8 in a large scale application ( more than 100K LOC ) and from my experience I can say that latest ui.router is very powerful but documentation is bit weak. Other than that it's wise decision to update the project to use latest version of ui.router

samithaf avatar Nov 17 '17 05:11 samithaf