0
votes
1answer
20 views

Does AngularJS have required route segments?

I've got routing that looks like this: .when "/:locale", templateUrl: "/views/index.html" ... .otherwise redirectTo: "/en" The issue is that the first route also matches /. Is there a way to add ...
0
votes
1answer
35 views

getting data via $.ajax how can i do it the “angular” way. Does $http replace $.ajax

here is my code. .state("dynamic", { url: "/:name", controller : 'AppHomeCtrl', templateUrl: function (params){ var myURL = params.name + '.html'; ...
0
votes
1answer
33 views

AngularJs routing issue

I have some problem with angularjs routing. My goal is to append different view depending on the path. I want to implement this using different ng-apps in one html document like this: <body> ...
0
votes
1answer
26 views

AngularJS and IE9 page refresh issue

My single page angularjs application seems to work fine in IE9+ until you edit an object and reload the page. If you modify a field (change Name from "You" to "Me") then press save the server gets the ...
2
votes
1answer
34 views

AngularJS change route without pushing a history state

I'm working on an AngularJS app that has a catch all route (eg, .when('/:slug', {...)) which is necessary to support legacy url formats from a previous (non-angular) version of the app. The controller ...
0
votes
1answer
47 views

AngularJS - Adding class to $routeProvider placeholder links

A follow up to the answer provided here: AngularJS - Changing a query param term within $routeProvider? When using route params, is it possible to set an 'active' class to the element or it's parent ...
0
votes
2answers
32 views

Angularjs routing issue, controller not loading

I have 4 files: index.html logic.js controller.js homepage.html index.html <html ng-app="sample"> <head> <script src="angular.js"></script> </head> <body> ...
0
votes
1answer
50 views

angularjs - After changing views using routing the jquery elements doesn`t get rendered

My issue is that after changing views using routing, the jquery components in my page doesn´t get rendered. I have customized ui components like dropdowns that are not being processed. I saw this ...
2
votes
1answer
33 views

prevent re initialization of controller on $location.path()

I am working on a application where I have to insert a back navigation link to main page from details page. Controller for both views are different. I am using $location.path('/') to navigate back to ...
0
votes
1answer
17 views

Route provider cannot access controllers definitions

I am trying to learn the route features of angularJS, but what I have happened so far doesn't work. If I ever click Load, Display, or Play (in my example: the links to possible action urls) then ...
2
votes
2answers
129 views

Angularjs routing with django's urls

I am using AngularJS for my front-end and Django as a back-end. I am doing very simple things at the back-end so I have not considered using tastypie. The problem where I am stuck is the ...
1
vote
1answer
55 views

method overloading \ overriding in AngularJS

I have a scenario, i which I have a share button, I have a container controller, called metaCtrl, which is on the html tag. And also inner controllers. I have a share button, that calls the ...
1
vote
4answers
266 views

AngularJS | handle routing before they load

I wish to create a simple authentication check for my routes by external service. I define the access requirements on the route object: $routeProvider .when('/', { templateUrl: ...
0
votes
1answer
91 views

angularjs $routeProvider does not include views (unknow provider)

I'm having trouble finding out why ngRouts doesn't include the views i have set. When i look at the javascript console i do get the following error. Error: unknown provider. I looked that up and ...
1
vote
0answers
45 views

ngGrid not displayed when used with route provider

Below is my HTML and the code to do a web service call and display the data in ngGrid. The problem is with the route provider, I'm not being able to show the grid in my separate view, but if I do the ...

15 30 50 per page