Tagged Questions
0
votes
1answer
22 views
Offline routing wih angular maks jQuery say operation is insecure
I'm trying to ue Angularjs in my offline application. All files get loaded directly, without a webserver (so from file://[PATH]). This works the first time, but then angular appends #/ to the back of ...
0
votes
0answers
64 views
JQuery not working on partial HTML using the $routeProvider of AngularJS
I'm using the bootst-datepicker.js from http://www.eyecon.ro/bootstrap-datepicker for date fields contained in the partial elements that handled by the $routeProvider.
Prior to using the ...
0
votes
0answers
40 views
AngularJS: How to prevent route change from happening
I'm listening to the event $routeChangeStart and I want to be able to redirect the user to another controller based on a condition. I am able to visually redirect him to another controller with ...
2
votes
1answer
651 views
AngularJS Scroll to element prevent browser from jumping
I've written an app that has a list of blocks.
Each block contains links to other blocks.
When a link to a block is clicked e.g #/home/page-19, the page animates down/up depending on current ...
0
votes
1answer
737 views
AngularJS Scroll to ID using routeParams
I'm making a single page app, that has subpages.
The idea is, I have urls e.g home, about and contact.
Each page then has multiple blocks.
The blocks are set a minimum height, when page loads. The ...
1
vote
1answer
467 views
routing bug in an angularjs app with jQuery
I'm trying to get set up an angularJS app with jQuery and I'm using the angular routing system for urls doing something like the following:
var app = angular.module('app', []);
...
1
vote
2answers
357 views
routingProvide not found AngularJs
I am just trying to learn Angular.Js and got stuck here watching a tutorial.
I just created a demo App with the following code ... and I am getting an the following error. Any help would be greatly ...
0
votes
1answer
92 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
2answers
782 views
angularjs routing conflict with jquery functions
I'm having a problem with angular routing mechanism:
$routeProvider
.when("/", { templateUrl: "/*some MVC calls to return a partial view*/"})
.when("/somewhere/:someParams", { templateUrl: ...
2
votes
1answer
1k views
Angularjs Routing behaves strange when using tabset directive from ui-bootstrap
I've been trying to solve a strange behaviour. Whenever I use the tabset directive from ui-bootstrap in one of my ui-router templates, I am unable to navigate away from that particular state. The ...
0
votes
1answer
233 views
Controller doesn't work after URL change
In short:
I have a controller that triggers some jQuery in my AngularJS web page to fade out a play button and a corresponding image. But, when the URL changes, the controller fails to work on ...