I'm using ngRoute to do the routing of my AngularJS application (myApp) but I have a problem: I don't know how to NOT APPLY my index.html design (with all my sidebars) to my login.html page, which seems to be applied by default if it is defin...
I'd like to implement a conditional .when(), like this:  .when('/abc', {      // if MyService.allow == true      template: '<myDirec></myDirec>'      // else      redirectTo: '/' })   My /abc route shall be lik...
I am fairly new to angular and am working with a client that wants a dropdown allowing users to select their neighborhood which is then saved in a cookie to load upon return. I am able to save cookie but am having trouble getting dropdown selected ne...
I'm having trouble figuring out how I could pass a parameter to a function that is a part of resolve of ngRoute.  In my case I'm doing stuff with tokens. These tokens are typed, so you cannot use the same token for confirming and email and re...
I am creating an AngularJS application which will get content from The Guardian API. I am using routing, so when it's at "articles/:articleId", I can get the articleId parameter. In this case, "articles/123" works fine, it returns...
Can Someone please help me out understand how to use the $locationChangeStart Event? Im making aa function that if a user clicks the browser back button without saving the data on the form in that specific page, a modal popup will show saying that th...
I have a problem trying to load some modules.  controller1.js:  angular.module('LPC')    .controller('lista_peliculas_controller', ['$scope', function($scope) {        $scope.hola="hola peliculas";    }]);   And app.js...
In my angular.js app I have a profile view with various tabs, each one a nested view with it's own controller. What I want to do is to be able to click back and forth different tabs but always remaining in the profile view.  But every time I clic...
I have a google map as the background for my site. It is used on separate routes to add a visual feature to data shown in the various routes. I would like to make sure this does not get reloaded on every route change which causes a flash of white tha...
I am trying to develop an single page web application using angular js. Now when i click a AddFilm button it redirects to the AddNewFilm.html where a message will be displayed and buttons will be hidden in the current view ,for routing i used the $ro...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.