Skip to main content

All Questions

1 vote
0 answers
1k views

Getting error : Transition Rejection($id: 0 type: 6, message: The transition errored, detail: TypeError: this.parent.parameters is not a function)

Getting error : Transition Rejection($id: 0 type: 6, message: The transition errored, detail: TypeError: this.parent.parameters is not a function) I'm upgrading angualrjs 1.5 to angularjs 1.8.2 ...
Omsairam's user avatar
  • 370
0 votes
1 answer
93 views

why am I getting Unknown provider: $routeProvider <- $route <- AppController even after adding the dependency in Angularjs

I tried almost everything thats available on stackoverflow since none worked posting the same. Really sorry if found duplicate. I am trying to reset the content of my Bootstrap table on the button ...
BATMAN_2008's user avatar
  • 3,580
0 votes
1 answer
331 views

ng-view nested in ui-view, ui-router and ngRoute at same time

ui-router and ngRoute at the same time I'm working on a quite large project that uses very old angularjs (version 1.4.3) along with ui-router (version 0.2.15). Updating to newer version at the moment ...
user2528041's user avatar
0 votes
1 answer
179 views

AngularJS ui-router how to do multiple URL variants for the same state - like ngRoute when

In ngRoute you can do: let params = { template: "some template" }; $routeProvider.when("/root/cardboards/deparments", params) .when("/suppliers/:_supplier/cardboards/deparments", params); How to ...
Raz Buchnik's user avatar
  • 8,421
1 vote
2 answers
166 views

AngularJS basic routing Program is not working

I am learning Angular JS, got stuck with basic angular routing program. Kindly let me know what I am doing wrong. GitHub link of the complete project code : https://github.com/ashpratap007/ngRoute ...
Ashish Pratap's user avatar
-1 votes
1 answer
936 views

How to change main layout in angular js? [closed]

When using ngRoute angular injects the views/templates into main layout i.e index.html. I don't want angular to inject into index but to index into home.html. How can I achieve this?
Mehul Mittal's user avatar
0 votes
1 answer
40 views

ngRoute is not working in AngularJS

I am trying to use Route in my newEvent page. But it's giving me 404 error. I checked my code but I am not able to identify the error. can anyone please check my codes and let me know whats wrong im ...
Md Mehadi Hasan Mozumder's user avatar
-2 votes
1 answer
39 views

angular JS get url data from server only after user authentication

I'm using angular to get states and setup application routes and manage access to certain pages, however as the states are loaded in the application config parts, any user can see my URI and my states ...
Med's user avatar
  • 221
2 votes
1 answer
737 views

Error: [$injector:unpr] Unknown provider: $scope in angular Js when routing

var myWebsite = angular.module('myWebsite', ['ngRoute']); myWebsite.config(['$scope', '$routeProvider', function($routeProvider) { $routeProvider .when("/home", { templateUrl : "index....
amit bhadale's user avatar
0 votes
1 answer
217 views

migrate from ngRoute to ui.router $rootScope.$on '$stateChangeStart' not triggering

I am trying to create a authentication system. I stubled upon this (plunk) tutorial which is great but uses ngRoute and i wish to stwitch to ui.router. After some hard time trying to do it by myself, ...
amarui's user avatar
  • 57
0 votes
1 answer
875 views

ngRoute is not changing view when click of <a> tag

I am new to Angular JS and stuck in an issue...i dont know what is happening.Please help to fix it. I have index file and app.js is connected ,app is using ngRoute...see code below. var app = ...
Muhammad Hashir Anwaar's user avatar
1 vote
1 answer
717 views

How to have angular nav-bars and ng-route together in a MEAN Stack app?

I wish to create a MEAN Stack app, in which the front-end UI has navigation bar (nav-bar) containing three navigation links to three different pages. On clicking the tabs/navigation items, the ...
Akash Hazra's user avatar
0 votes
1 answer
372 views

How i will get to know in routeChangeStart event event triggered by JS or click

Main.js $routeProvider .when('/home', { templateUrl: 'home.html', controller: 'StudentController' }) .when('/viewStudents', { templateUrl: 'viewStudents.html', ...
Prathamesh Rasam's user avatar
2 votes
1 answer
317 views

migrating from ngRoute to ui.router

I have a problem with migrating from ngroute to ui.router: using ngroute i have couple angular files: module.js angular.module('betTogether', ['ngRoute']); route.js angular.module('betTogether')....
K.Dzien's user avatar
  • 177
1 vote
1 answer
2k views

ng:btstrpd err App Already Bootstrapped with this Element?

It's entirely possible I'm doing something stupid ... Full stack trace of the Error Error: [ng:btstrpd] App Already Bootstrapped with this Element < html class="js flexbox flexboxlegacy canvas ...
kragor's user avatar
  • 105

15 30 50 per page