angular-hybrid icon indicating copy to clipboard operation
angular-hybrid copied to clipboard

Upgrade an ng1 UI-Router app to a ng1+ng2 hybrid using ng-upgrade

Results 46 angular-hybrid issues
Sort by recently updated
recently updated
newest added

We've been using angular-hybrid from a while and today we've upgraded to Angular 9.0.7 (wanted to go to 9.1.9, but there are issues with the compiler on windows). We've always...

In angularjs there is a way to augment all routes with additional resolver like: ```js state.resolve.security = function($q, profileService, $rootScope, appSecurity) { if (!profileService.authenticated) { return $q.reject('not-logged'); } if (!profileService.hasRoles(roles))...

Error: [$injector:nomod] Module 'ui.router.upgrade' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the...

For some reason, we can't use the ```useHash``` property of UIRouterModule in UIRouterUpgradeModule. The ```UIRouterModule.forRoot``` expect an interface of ```RootModule``` which supports ```useHash```, while ```UIRouterUpgradeModule.forRoot``` expects an interface of ```NgHybridStatesModule```...

I try to setup lazy loading using webpack with AngularCompilerPlugin, but get error. ```ts export const testFutureState: NgHybridStateDeclaration = { name: 'test.**', url: '/', loadChildren: './test.module#TestModule', }; ``` ```ts export...

Given a state definition like this: ``` // file A.ts export const coreHomeUiRouterState: NgHybridStateDeclaration = { name: 'home', url: '', component: CoreHomeComponent }; angular.module('dccApp').config([ '$stateProvider', function($stateProvider) { $stateProvider.state(coreHomeUiRouterState); }, ]);...

**Affects the following combination of packages:** `@ui-router/angular-hybrid 3.1.2` `angular 4.3` `angularjs 1.5` `typescript 2.3` **Description:** We have the following app structure: ```html ``` This worked fine with AngularJS components and...

Adding any dependency to `resolve` parameters of route definitions causes the following error: `Trying to get the Angular injector before bootstrapping the corresponding Angular module.` This only happens when bootstrapping...

I've encounted the same issue https://github.com/ui-router/angular/issues/422 with ``` "@uirouter/angular-hybrid": "7.0.0" ``` any workaround?

Following the instructions to setup a hybrid angular router between AngularJS 1.7.3 and Angular app, I'm getting this error: `Unhandled Promise rejection: StaticInjectorError(AppModule)[UpgradeModule -> Injector]: StaticInjectorError(Platform: core)[UpgradeModule -> Injector]: NullInjectorError:...