2
votes
2answers
67 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 ...
14
votes
1answer
1k 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 ...
0
votes
0answers
226 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
91 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
95 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
86 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
522 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
381 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. ...