0
votes
1answer
23 views

Angular ui-routing and multiple views in nested child states

I have a parent state that is abstract which basically only contains a template html that has ui-views. I have multiple child states that contains multiple views, and each of the child states has ...
0
votes
1answer
60 views

Angular service reset when changing page through Angular routes

I have multi page signUp form , I need to persist data until last step , so that user can jump to any step back and edit. I am using service "User" as singleton object for all six steps. ...
1
vote
1answer
355 views

UI-Router: sequential resolve of parent and child states

I have two abstract states parent and parent.child, and an activateable state parent.child.grand. I want parent to be promise resolved before parent.child.grand gets its resolves executed. Why? ...
1
vote
0answers
40 views

getting an error : Argument 'ctrl' not defined in angular js

my index.html file has the following : <script src="scripts/controllers/form/DashboardCtrl.js" /> <script src="scripts/controllers/chart/morrisChartCtrl.js" /> my app.js file is as ...
0
votes
2answers
82 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 ...
2
votes
2answers
523 views

AngularJS ui-router reverting to otherwise when ng-click is used

I'm playing around with AngularJS as a learning exercise. I'm trying to get to grips with AngularJS ui-router (https://github.com/angular-ui/ui-router) and I've hit a bit of a brick-wall with an ...
15
votes
1answer
2k views

ui-router 0.2.8 , why the release dir is empty?

If I run bower install angular-ui-router --save the release dir (and there is no file named angular-ui-router.js in other dirs) is empty so I can't include the module in my script :( Do anyone ...
2
votes
0answers
612 views

Angularjs: using $routeProvider and ng-controller at the same time

I use $routeProvider for 90%+ of my controllers, but am using ng-controller to attach controllers to angular-ui bootstrap html popover templates. It works, but every controller I specify with ...
0
votes
1answer
163 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', ...
1
vote
2answers
105 views

AngularJS partials with URLs in directives - best practice?

I quite like how angular-ui has created ui-routes, which provides named routes (among other things). Though likely a simple directive to write—a wrapper for ui-view—I am not sure if it is best ...
1
vote
0answers
102 views

Views that behave as lightbox or standalone depending on context

Let's say we have three views: A, B and X. The urls for these are /A, /B and /X. A and B both contain a link pointing to X. When clicked, X renders as a lightbox on top of A or B, and the url is ...
1
vote
1answer
767 views

Large single page application with 'portal' or MDI like functionality using AngularJS

I have a question related to how to best compose a very large single page application using angularjs and if necessary ui-router. My scenario is this. I have multiple components which can be say ...
0
votes
1answer
405 views

How do I make angular-ui bootstrap accordion group work in html5mode

If I enable html5mode to true in my config module, the "hyperlink" that opens the accordion-group reroutes the url back to the base url. Not only does the accordion group not open, but you are ...
2
votes
1answer
2k views

Back button with nested states in Angular Router

I have an AngularJS application that makes use of the new, state-based ui-router. I have three different views in my application, where one is a top-level views, and the other two are nested ones. ...