Questions tagged [angular-component-router]

85 questions
0
votes
0 answers

Angular 1.5 component router passing data on navigate

I am a little new to Angular with components, so pardon the newbie question. Here is my scenario: I have a component (home) that asks the user for an address When the user enters the address I want to redirect them to a new component (map) where…
dpdragnev
  • 2,011
  • 2
  • 28
  • 55
0
votes
1 answer

Update to angular component router from original angular router gives the errors:

See the code here: http://plnkr.co/edit/xIRiq10PSYRsvNE0YWx7?p=preview. I'm getting the following 2 errors. Route must provide either a path or regex property [$compile:ctreq] …
0
votes
1 answer

how to retain values while navigating across pages using component routing angular 1.5

Recently I have implemented angular 1.5 component routing. But I am not able to retain values while navigating across pages. How can I retain values while navigating across page. have a look at this PLUNKER . This is very basic example of two page…
ankitd
  • 1,967
  • 3
  • 26
  • 44
0
votes
1 answer

Angular: Diffenrence between $router and $rootRouter?

I was implementing webpack to my angularJS project the other day, and my project threw an unkown RouterProvider error. Changing my $router provider to $rootRouter fixed the issue. So my question is, what is the difference between them? Thanks in…
0
votes
1 answer

Angular 1.5.x Component Router Resolve (2)

How can I make a component route wait for a data befere to execute the controller and render the view. Similar to resolve of ngRoute and ui-router. The documentation has this: This only wait for the url change, ex: //Old url http://localhost/#/ //…
0
votes
1 answer

Angular 1.5 component ...ng-link Issue

I have nav bar Home Accounts Services Orders Tickets on click of Accounts there is drop-down with fields new Customer and Search Customer On click of new Customer it should navigate to home component. view of root component:
0
votes
1 answer

Using angular component routing in different modules

Why is module 2 displayed inside Module 1? We have one angular app that contains multiple modules. For some modules we would like to use a component router. We don't know on which page (url) the component will be loaded. Current situation: Inside…
S.Honderdos
  • 55
  • 10
0
votes
0 answers

Angular 1.5 component router browser history issue

I am using angular 1.5.x with components and the component router. My web app (that is not using angular) has an access to my angular app via a link. When I arrive in my angular app, I'm stuck in it, the browser (chrome) back button is not working…
0
votes
1 answer

Angular 1.5 scope variable undefined in $http service success callback

Given the following Angular 1.5 Component Controller... 'use strict' function MyController($http){ //The template variable for cloning on a form this.myVarTemplate = {}; //The Data I wish to send to the server …
-2
votes
1 answer

Angular 5 Trouble Loading childComponent from Parent

I am trying to load a internal component : app/stores/store/store-top.component Once the user clicks on any of the stores from the list I wish to show the store-top content in store component. Please provide some inputs Below is my repository:…
1 2 3 4 5
6