0
votes
2answers
38 views

ui.router changing state, but ui-view doesn't display anything?

Though the states are changing successfully, I can't get the ui-view to update: HTML <a ui-sref="promo.foo">Foo state</a> <a ui-sref="promo.bar">Bar state</a> <div ...
0
votes
1answer
28 views

Passing additional parameters using $routeProvider

In my AngularJS app I have one template and one controller that I can reach via 2 different url: $routeProvider.when('/site/contents/:obj/:parent/:isnew?', { templateUrl: ...
0
votes
1answer
30 views

Scope inheritance fails with multiple-named views?

It breaks when moving from (Plnkr): .state('home', {url: '/home', template: '<pre>{{parentProp}}</pre>', controller: function ($scope) {$scope.parentProp = ['home'];}}) ...
2
votes
1answer
44 views

Angular JS - UI Routing - the script always scrolls down to the injection but I want them to see the whole page?

I am using a bootstrap template and I tried to implement Angular JS with ui.routing The injection and navigation itself works fine... only my header includes a slider and the text is injected below. ...
2
votes
1answer
77 views

Blank page using multiple views with UI-Router

I followed this article and this other I've tried to replicate what's on the wiki, without any luck. So far this is what I've done the folder structure: partial index index.html // inner view ...
3
votes
2answers
343 views

AngularJS: Two Parallel Views, One URL

I'm building a dashboard/control panel app that is basically made up of two tabs (bootstrap) at the root level, called "dispatch" and "admin". Each tab has a good bit of its own multi-tiered ...
1
vote
1answer
87 views

ngRouter/uiRouter preserve controllers when changing view

Is there anyway to preserve route controllers in Angular when using routing? Everytime I change the view, the old controller is destroyed and a new one created, but I was wondering if there was a way ...
0
votes
2answers
120 views

What is the AngularJS way to do a client-side include, with route parameters?

Let's say that I have 2 pages in my AngularJS app, one which displays information about an author, and another that displays info about a book. I have a separate template file, controller, and route ...
4
votes
1answer
2k views

Aungular UI-Router: child using parent's view

In story form: What I am looking for here is a master-detail setup. The master is in list form and when I click on a link (relative to a particular row/record (or Account in this case)) I want to see ...
53
votes
4answers
12k views

Difference between angular-route and angular-ui-router

I am new in angular. I find angular quite interesting and planing to use angular in my big apps. So I am in the process to find out right module. What is the difference between ngRoute ...
0
votes
1answer
128 views

Stop a common template from being reloaded

I have an Angular application that depends on Angular ui-router. This application has multiple pages which share a common template such as the navbar: var app = angular.module('app', ['ngSanitize', ...
0
votes
1answer
1k views

AngularJS. ui-view included in ng-view

I try to use ui-view included in ng-view, and it does not work. But when I use ui-view near ng-view, ui-view work and in ng-view. Don't work: <div ng-view id="body-div"></div> Work: ...