Questions tagged as 'angular-routes'

1
answer

Direct Angled Rotation Problem

I published the Angular project on a machine with IIS, but when I try to access the link with a route it directly displays a 404 error, for example " link but if you access the url link "it loads normally, and if it is not logged in the syste...
asked by 17.09.2018 / 15:31
1
answer

How To Catch The Variable Of Another Component

I have the following situation. utils-nav-user.component.html <nav class="navbar fixed-bottom navbar-expand-lg navbar-dark bg-dark"> <a class="navbar-brand text-white">ESC - Sistema De Controle De Pizzaria - </a> <a...
asked by 15.02.2018 / 03:00
1
answer

Url loads the characters! #% 2F and does not load the correct view in Angular

I'm in my root index.html and it loads normal, but when I type the # plus the / and a view for example the test url view is: strong> index.html #! #% 2Fview-test . I would like to know what! Follow the route code: angular.module('teste'...
asked by 24.08.2017 / 23:44
1
answer

Laravel / Angular Routes $ routeProvider

I have something like this in the app.js of my application: app.config( function( $routeProvider ) { $routeProvider.when('evento/:id/:caminho', { templateUrl: 'views/evento.html', controller: 'PrincipalEventoController'...
asked by 10.10.2015 / 14:21
0
answers

Help with router-outlet on login / registration screen

I'm trying to work with 3 components: A component that will be as a border to the Login / Log component, the registry component (RegistrarComponent), and the login component (LoginComponent). In my app.module is set to start through the...
asked by 18.12.2018 / 19:04
0
answers

Angular 6 - Can Deactivate Guard not working

I'm having trouble making Can Deactivate work in my application. In the file form.component.html I have the following code: <div class="form-group"> <label for="quoteType">Quote Type</label> <select...
asked by 06.11.2018 / 17:49
0
answers

Import an angled project into another angular project

I wonder if it's possible for me to import an entire angled project into another project, eg let's say I have a financial project and a stock project both ready and working but in separate projects, and now I'd like to create a new one project t...
asked by 07.11.2018 / 20:49
1
answer

Doubt routerLink and route.navigate (route I want)?

When I use routerLink , does the target page run the commands within ngOnInit() and when I use this.route.navigate([<rota de acesso>]) does not execute? I would like to know if you have this.route.navigate() a...
asked by 29.09.2018 / 23:11
1
answer

Non-Angular Rotation 5 dynamically mounted

I have a dynamic menu mount in the angle. The assembly is done as follows: <ul class="pcoded-item pcoded-left-item" item-border="none" item-border-style="solid" subitem-border="solid" *ngFor="let asideItem of asideItems.views"...
asked by 13.08.2018 / 13:48
1
answer

How to put a variable in the middle of the non-angular route

Hello, I am developing a front-end that will connect with several API's alike, but with different banks (The Client has the API installed, but this front is for employee access, and for the sake of reducing maintenance by upgrading in all clients...
asked by 14.06.2018 / 15:30