Most voted "ngroute" questions
8 questions
Sort by count of
-
2
votes1
answer852
viewsAngular JS routes
good night! I’m new to single page application technology, and I’m finding it difficult to render my pages at Angular one, I have a button that when I click, fires a route, it tries to be loaded,…
-
1
votes2
answers584
viewsAngular with ngRouter does not work when I type in Browse
I need to type in the Browse... dominio.com.br/details/1234 ...and I need the controller to take this 1234 number and perform your task. I tried everything unsuccessfully. NOTE: If I create an…
-
1
votes1
answer49
viewsngRoute not working properly
I’m trying to create routes with the AngularJS to make a Single Application. I can load the main page that would be the /, but others that contains parameters I cannot. I have the URL…
-
0
votes1
answer929
viewsRoute to Angular home page
I have the following structure in my module https://jsfiddle.net/o0hs0uhw/ When I call the URL http://localhost/emp/dist/boffice/home, it includes the home.html view, so far so ok. The problem is…
-
0
votes0
answers33
viewsRegistry of controller Angularjs
I have this app and this html: https://jsfiddle.net/2r4w554g/ And I also have this controller and this html: https://jsfiddle.net/oes9vzu8/1/ When I put it to run, it points out an error that the…
-
0
votes2
answers405
viewsAngular $routeProvider using <div ng-view></div>
Galley, I am following the book ng-book of angular, and to make a SPA, I am using the following structure: - app - controller controller.js - js main.js - node_modules (com os arquivos de jquery,…
-
0
votes0
answers36
viewsShould I use a "Provider" type service just to check if the user is logged in?
I have an application that makes use of the module ngRoute. When the url of a restricted page is accessed, I check if the user is logged in, and then allow access. Only I was replicating this…
-
0
votes3
answers485
viewsRouting problem after final build in angular 2
After generating a final build in angular 2 ng build --prod I was able to put it on any server (Nginx/Tomcat/others...) normally, the problem happens that the routing does not work using the tag…