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 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...
Need you're help in reducing the load time of the application. In our application we use ngroute and in ng-route we have resolve call. Once the resolve call is successful we are making other function calls. Each function call is individual resour...
I have just begun trying to integrate ngRoute into an application I am building, but am having trouble getting ngRoute to work.  I have created a simple app to describe my attempt.  index.html:  <!DOCTYPE html> <html ng-app="tester"&...
I am using angular router to create a SPA which retrieves data from an external database based on user preference and than displays data inside a table. Here is what I have setup  Router:  App.config(function($routeProvider) {         $routeProvider...
I'm trying to create a webpage which reads json. I have a first page,index, that works just fine. I get correct information from json and print it out correct. But, I want to have a subpage, which have more details. To get this details.  I don...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.