Questions tagged [ngroute]

AngularJS module providing routing, deeplinking services and directives for AngularJS apps.

The ngRoute module provides routing, deeplinking services and directives for AngularJS apps.

Resources

879 questions
-1
votes
2 answers

Angular routes and parameters don't work

I've the following controller: app.controller('ObjectBoardCtrl', ['$scope' , '$rootScope' , '$routeParams' , function($scope , $rootScope, $routeParams) { $scope.selectedObjectId = $routeParams.id; }]); And this route…
Shai
  • 77
  • 1
  • 7
-1
votes
1 answer

routeparams not working in ng-repeat NO RESPONSE

Im working on a shoppingCart project and want to bring data into views dynamically so Im calling routeParams in template.html but it is arriving normally as checked via but it isnt working with ng-repeat. index.html
-2
votes
3 answers

Use Laravel and Angularjs Routing at once

I am working on an E-Commerce WebApp. In which I am using Laravel for the backend and Angularjs for the front end. But the problem it when I click on specifc navigation item it will work fine but when I reload the page,It will go for laravel routing…
-2
votes
1 answer

angular JS get url data from server only after user authentication

I'm using angular to get states and setup application routes and manage access to certain pages, however as the states are loaded in the application config parts, any user can see my URI and my states even before authentication. What am looking for…
Med
  • 241
  • 1
  • 6
  • 23
-2
votes
1 answer

AngularJS including partial js files without loading in HTML head

I have app.js file and watchExample.js file which has a controller. I am injecting this controller into my app in app.js. So I don't want to load watchExample.js file in my index.html head. Because if I have many js files, I would have to load them…
Furkan
  • 61
  • 9
-2
votes
1 answer

How can I call four different pages in same screen using angularjs?

How can I create an assignment with four screens? Screen with some text Screen with some images image Screen with a video All the screens will be changed automatically one by one with some time factor and the time must me configurable i.e you can…
-2
votes
1 answer

Angular and ngRoute; Open in New Window

I'm looking for a way to use ngRouting to open a template in a new window. I have an ng-view div set up in my index page that allows me to populate the data in my central page, but if the user chooses to open a link in a new window/tab, the page…
-2
votes
1 answer

AngularJS redirect to the url and call a function

I have a parent controller and some child controllers in my app. In some cases i need to redirect user to another route url, and call the function after redirect (in url controller).
trigger
  • 489
  • 10
  • 26
-3
votes
2 answers

$location.path() is not working in scroll binding

angular.module('example').service('myService', function myService($rootScope,$route,$http,$location) { $("#mainwindowscroll").on('scroll', function (e) { $location.path('/about'); }); });
1 2 3
58
59