0
votes
1answer
22 views

during ng-animate of views, “leaving” view still takes up space while “entering” view is animating in

I'm using AngularJS 1.1.5 and trying out the ng-animate directive with daneden's animate.css. I have a couple of views set up using routing. I'm using Twitter Bootstrap 3 RC1. Here is the code for ...
1
vote
2answers
19 views

$stateChangeSuccess not firing on href-transitioning

Am I correct in my conclusion that $stateChangeSuccess won't fire unless I use $state.transitionTo? For instance: //in app config .state('detail.zoom', { url: '/zoom/{itemId}', ...
1
vote
1answer
12 views

Return interdependent async promises in $routeProvider resolve

Consider the code: var myApp = angular.module('myApp', []); The routes: myApp.config(['$routeProvider', function($routeProvider) { $routeProvider.when('/', { templateUrl: ...
1
vote
0answers
21 views

AngularJS: $route.current is undefined?

I was trying to use an ng-select to display 1 toolbar or another, i pointed this at my controller where I am doing $scope.toolbarType = $route.current.toolbarType; Problem is that the ...
0
votes
1answer
48 views

AngularJS - Need some combination of $routeChangeStart and $locationChangeStart

My problem is actually very similar to the one found here: AngularJs - cancel route change event In short, I'm using $routeChangeStart and trying to change the current route using $location. When I ...
1
vote
2answers
96 views
+50

Security for an AngularJs + ServiceStack App

I have an application that have four modules in the front end, I'm trying to use as much as possible AngularJs in the front end I'm using an empty website asp.net project to host all the files and the ...
0
votes
1answer
23 views

Avoid ng-view getting “wiped” (updated) when $location.search updates GET params

So I have a map object instantiated using the leaflet library. The map instance is created in a separate template and routed in this manner:- var app = angular.module('myApp', ['ui', 'ngResource']); ...
0
votes
0answers
24 views

How to improve plnkr includes Angular UI Router and Angular UI Bootsrap Carousel [closed]

http://plnkr.co/edit/uOW7tUQ2D5P22pBgLyoK extends Ben Schartz's fiddle on Angular UI Router, and loads a partial html containing the Angular UI Bootstrap Carousel demo. Apart from too many includes, ...
0
votes
2answers
16 views

AngularJS: dealing with root and sub applications in sub folders

I have two AngularJS applications: is the base application and runs at root / is a sub application that needs to be isolated for design reasons and runs in a sub folder, say /foo/ How can I route ...
1
vote
2answers
42 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 ...
0
votes
1answer
16 views

AngularJS route renaming

I have an angular app that lives on mysite.com/angularapp and there is no need for a route provider. When I load the page, the URL changes to mysite.com/angularapp#/angularapp. I'd like the URL to not ...
0
votes
0answers
32 views

Configure AngularJS routes

I'm starting with AngularJS and I'm having some issues with routes. I configured my project for html5mode, I set my tag, and everything was ok. The problem comes when I try to use a bootstrap modal. ...
0
votes
0answers
30 views

flexible, file path based AngularJS routing

I am currently using a defined route in a n angular project. I define my module and configure the route like this: angular.module('website', []). config(function ($routeProvider) { ...
0
votes
1answer
15 views

Link route to directive? Or another way?

I have an unusual question. I have this old page that I want to convert to angular.js. http://transience.me/TD/ I have 5 pages worth of html loaded on one page and the only visible portion is the ...
0
votes
1answer
33 views

AngularJS: Refrain from changing the browser location URL to stop user from bookmarking an error page?

I have a form that I need to submit, if something goes wrong I would like to show an error page, I have a controller and view for this but I would like for the browser location textbox not to change ...

1 2 3 4 5 8
15 30 50 per page