Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
52 views

Somebody can tell me if is possible to open a child route in a new view instead of opening right under it? If so how and how to comeback to the father route previous state of navigation?
Pedro's user avatar
  • 3
0 votes
1 answer
1k views

I'm trying to organize my code a bit differently than the tutorial for component routing. Quite simply I want to my app to have this structure. app.js -components/ +-settings/ +-settings.js +-...
Derek Adair's user avatar
2 votes
1 answer
509 views

We're attempting to build an app using Angular 1.5 with the new component router bits. We've run into a bit of an edge case and we're wondering if there's any way around it. The Key Players ...
SeanKilleen's user avatar
  • 9,017
0 votes
0 answers
94 views

I'm using angular new router and configured it as following: this.$router.config([ {path: '/', component: 'home', as:'home'}, {path: '/home', component: 'home'}, ...
Dor Cohen's user avatar
  • 17.1k
0 votes
1 answer
308 views

I'm trying to use angular new router in my Angular 1.5 (+ Typescript) project. I followed the getting started manual but it forces me to have all my HTML components folder right under my root folder: ...
Dor Cohen's user avatar
  • 17.1k
1 vote
0 answers
120 views

I've read through both proposals individually but am having trouble piecing them together. So with component() we can set the bindings property to get data from outside of the component. However, it ...
kennyg's user avatar
  • 1,069
2 votes
0 answers
611 views

Does anyone know the new ngComponentRouter equivilant for $componentLoaderProvider to tell the router where to find the views. I have a home component located off the root of the application in app/...
DRobertE's user avatar
  • 3,506
5 votes
1 answer
1k views

I'm working with Angular 1.5 and trying to migrate from using ui-router in 1.4 to the new Component Router in 1.5. However, when I update to 1.5, I don't see a way to inject '$router' into my ...
James Gentes's user avatar
  • 8,264
0 votes
1 answer
83 views

I am starting to play with the new angular router. I did an npm install as was noted https://www.npmjs.com/package/angular-new-router. However, I am having difficulty setting up the script tag. I ...
Winnemucca's user avatar
  • 3,508
3 votes
1 answer
274 views

Is angular new router part of 1.5 release? I can't find a clear answer but maybe I'm missing something obvious.
yar1's user avatar
  • 1,361
1 vote
1 answer
521 views

SPEED & PERFORMANCE Angular 2 is dramatically faster than Angular 1 with support for fast initial loads through server-side pre-rendering, offline compile for fast startup, and ultrafast ...
oubushixb's user avatar
8 votes
2 answers
9k views

I am playing with Angular 2.0's new router and I try to use something similar to Angular 1.X ui-router / ng-route resolve mechanism. I was trying to achieve this using RouteData: import {Component, ...
Yaniv Efraim's user avatar
  • 6,721
14 votes
2 answers
18k views

I'm using angular 1.5 beta 2 and the new router from Angular 2 alpha 45. I couldn't find examples of usage for the latest router with Angular 1. I can find examples of the usage of the router for ...
pauloya's user avatar
  • 2,563
2 votes
1 answer
853 views

On all of the examples that I see for the new component router the ID is always at the end of the route like this: @RouteConfig([ {path: '/email/:id', component: email, as: 'email'}, ]) Which you ...
Zorthgo's user avatar
  • 2,987
18 votes
1 answer
55k views

How can one navigate to a different URL within Angular 2? I know that we can use JavaScript's window.location.href = '...'; But that seems wrong and would cause a page refresh. I am pretty sure that ...
Zorthgo's user avatar
  • 2,987

15 30 50 per page