Questions tagged as 'angular-routes'

1
answer

AngularJS issues with view routing

I'm developing a web application with AngularJS 1.6, and I'm encountering an error only when I open index.html right from the page. However, when running directly from the IDE it works normally. Here is the error print: Index.htmlcode:<bodyn...
asked by 13.08.2017 / 23:40
1
answer

Routes - AngularJS

I'm using angularjs 1.6 routes and I'm having problems with the java connection filter part. When I log in to my system and access a page from my system, the filter works normally, but when I open another page without refreshing the page, th...
asked by 09.08.2017 / 04:10
1
answer

How to get the current browser URL with PHP?

For example, I have the following URL generated with ngRoute of AngularJS : https://www.projeto.com/edit/25 , 25 is the ID, I need to get this ID in PHP. In searches, I found the following solution to get the URL in PHP:...
asked by 31.05.2017 / 15:57
1
answer

Change value of a variable through another component [ANGULAR 2]

I have a boolean variable declared inside a window component, this variable is used to print / hide a link that is in the header. I want to change the value of this variable from a second component, in the case of the close component. win...
asked by 22.05.2017 / 19:10
1
answer

Problem with html5Mode angular

I installed my application Angular using #! in the links url, now I'm trying to use html5Mode but it's not working. The folder structure of my application looks like this: In the root is index.html , a folder with t...
asked by 25.05.2017 / 19:30
0
answers

How to disable the angular route system

I have a project developed in angle 1, I'm using routeProvider and locationProvider. But now that the project is "ready", I need to deactivate the route system, that is, when the URL is changed, when I go to another page, I need the page reloade...
asked by 16.05.2017 / 20:38
1
answer

Angular Error 2 Router (Can not find primary outlet to load 'WelcomeComponent')

Good morning, I have the following error in my application ANGULAR-2         EXCEPTION: Uncaught (in promise): Error: Can not find primary outlet to load 'WelcomeComponent'     getOutlet @ link [angular]     ActivateRoutes.prototype.activat...
asked by 05.04.2017 / 15:35
0
answers

How to use components exported from other modules in Angular 2

I'm starting to use Angular 2 and I'm having trouble accessing an existing component in a module I've created. When opening the application, route root should be directed to the module IndexModule where its boostrap is...
asked by 07.03.2017 / 21:54
1
answer

Angularjs single route parameters

Good malt, I'm trying to create a simple parameter on my route in angularjs. What I intend is that my job page whenever I load in an article open in another page the information of that article. I can get the ID but the information does not s...
asked by 10.11.2016 / 15:16
1
answer

Problems with angular route 2 and laravel 5

I have a system in laravel 5.3, and I'm putting the angular 2 to take care of the front end. I have several modules, ex: companies. The route / companies will lead to the listing of companies getting like this: localhost: 8000 / companies ... Bu...
asked by 07.11.2016 / 23:51