Questions tagged as 'angular-routes'

1
answer

Child component of another component does not load

I configured the routes, but the component does not render when the application initializes. I need the posts component to render within the blog component, and the blog already loads correctly. app.component.html: <app-n...
asked by 10.05.2018 / 04:40
0
answers

MutiFuncionall Angular Controller

My idea is to create a multifunctional controller, ie: The controller will be unique, but it will vary the views (in the form of CRUD). Follows the files, structure, and error message. However, when I added a new router inside the .config...
asked by 13.04.2018 / 14:04
0
answers

Angular No Heroku Does Not Access URLs Typing

I would like to ask a question, I am doing a soft with Angular 5 and Restful WebService when I test local I can access the URLs normally directly when I try to do this with the application in Heroku does not work, it only works things out when i...
asked by 19.02.2018 / 03:45
1
answer

Problem with more than two in-app router

[...] <header> <a routerLink="/lista-empresa" href="javascript:;">Empresa</a> </header> [...] <main> <router-outlet name="conteudo"></router-outlet> </main> [...] empresa.routing.module.ts...
asked by 05.01.2018 / 22:23
0
answers

Hide menu items using Routes

I want to get information like the menu for a different route, for example, the "Mkt Place" client is not seen as "Seller" customer options, provided by the menu when the user enters the mktplace or 'seller' login "depending on the choice <...
asked by 19.12.2017 / 13:34
1
answer

Problems with Lazy Load angular 5

Error adding lazy loading Any help is welcome because I'm new to the angle. Do I need to set up any files for this to work? app.module.ts import { BrowserModule } from '@angular/platform-browser'; import { NgModule, LOCALE_ID }...
asked by 01.12.2017 / 21:26
0
answers

Angular 4 + Laravel 5 Error: The resource you are looking for has been removed, has its name changed, or is temporarily unavailable

I have a project in which I am using Angular 4 and Laravel 5. Locally it is running locally but when I go into production (I'm using Azure as the server) it does not work properly. I have a registration form and Angular. And clicking the "...
asked by 25.10.2017 / 07:33
1
answer

Routes Node.js with Angular.js

I'm starting now in the development with node and I came to the following doubt: much is talked about mean stack , but how to do the mapping of the routes using node and angular? Which one do I use to do the routes? Could you give an examp...
asked by 09.10.2017 / 14:56
1
answer

Redirect a route from one childModule to another childModule with Angular 2 (^ 4.0)

Hello, I'm working with Angular where I have a structure like this: |-app |-fooModule (fooPage1, fooPage2) |-barModule (barPage1, barPage2) These two modules are being loaded using lazyLoad in the route file as follows: a...
asked by 28.09.2017 / 14:13
1
answer

ngRoute breaking when accessing a specific url

Hello! I have a problem with ngRoute that I can not understand why. Basically, when I try to access a specific URL from a route, from outside the app (not from an application link), I get the message Can not GET / Route . My route definit...
asked by 26.08.2017 / 21:51