Skip to main content
Filter by
Sorted by
Tagged with
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) I'm upgrading angualrjs 1.5 to angularjs 1.8.2 ...
Omsairam's user avatar
  • 370
1 vote
0 answers
540 views

Is there a way to make AngularJS’s ngRoute work together with react-router ? Main routing is inside the AngularJS application and I tried to add react-router for only a small part of the app but it ...
Mirel Vlad's user avatar
  • 2,102
0 votes
1 answer
82 views

Trying to use ngRoute to route between two pages, main.html and second.html. Using angular version 1.7. The index.html default to the correct main.html but will not route to second.html when clicking ...
larry8989's user avatar
  • 339
0 votes
0 answers
87 views

I am trying to convert from MVC routing to Angular Routing for one of the MVC Controller using routeProvider. No matter what combination of #, #! or / I use I am not getting routing to work. I have a ...
GameFromScratch's user avatar
-1 votes
2 answers
95 views

Hi I want same controller in different pages. How to pass the object to different pages. Below is my sample code. Page1.html <body ng-app="myapp" ng-controller="studentController"> <div&...
superuser's user avatar
  • 455
0 votes
1 answer
168 views

I am trying to make a website which does not need to refresh when going from page to page. I have achieved this before by using the angularJS $routeProvider but for some reason my content will not ...
Dane Williams's user avatar
0 votes
0 answers
381 views

I'm new to angular with rest api. Simple login page to home page navigation with java , rest api, with angular js 1. But on click of login button it redirects to same login page. But I could see logs ...
hary's user avatar
  • 1
1 vote
1 answer
84 views

Trying to insert HTML content on the page using ng bind as below but unable to bind it. Script: SS_Mod_App.controller("SS_Ctrl",/*"$interpolate",*/ function ($scope, $http, $location, $window, $sce/...
user11130182's user avatar
0 votes
1 answer
41 views

I'm using AngularJS and I would like to redirect a user when he clicks a button on /page1 to /page2. I currently use AngularJS routing for this using ngRoute which works all fine. However, in addition ...
Shrikanth Rajgopalan's user avatar
0 votes
1 answer
169 views

I have a very simple project in AngularJS 1.7.5 (and tried 6). I am using system.web.optimization to do my bundling. When running the project with optimization turned off it works fine. When I ...
Mike Mason's user avatar
0 votes
1 answer
54 views

Here is the code.In URL it is redirecting to #!/dashboard but it is not displaying anything. var app = angular.module("myapp", ["ngRoute"]); app.config(function ($routeProvider) { $routeProvider....
Swadesh's user avatar
  • 35
0 votes
0 answers
41 views

I have a Solution with two projects. One is the frontend, made with AngularJS, the backend is made with c# web api. When I use the debugger with only backend the api url's work fine, but when I debug ...
Guido Caffa's user avatar
  • 1,251
1 vote
0 answers
104 views

I have a 2 different tabs,1st tab contains the form then after the form submit view for next tabs should get loaded and control should pass on the next tab. how to achieve it by using codeignator and ...
priya singh's user avatar
0 votes
1 answer
56 views

I'm starting with a basic app with c# web api + AngularJS. I'm using AngularJS ngRoute for routing. The page is perfectly loaded, and the code in the secondary files is displayed correctly. The ...
Guido Caffa's user avatar
  • 1,251
1 vote
1 answer
2k views

Im using AngularJS 1.6 and have a problem with routing, where Controller is unregistered, although it seemed that there was no problem. Tried different solutions, but they did not help. products.html ...
Taras Danylchenko's user avatar
0 votes
1 answer
108 views

When I updated the code snippet from this answer to use AngularJS 1.6, it stopped working. The Login and Register links no longer change the view. The DEMO var app = angular.module("myApp", ["...
georgeawg's user avatar
  • 49k
0 votes
0 answers
80 views

I have a view which is basically a trimmed down version of the original template. I have trimmed down the view to only the elements I need. I can access the trimmed down view at '/newclientloanaccount/...
Golide's user avatar
  • 1,031
0 votes
3 answers
92 views

i have angularjs 1 application. i am trying to render htmls by using ngRoute. But in app.js app.config() method is not executing by which i am not getting html in ng-view. I am not getting any error ...
Sangram Badi's user avatar
  • 4,304
1 vote
0 answers
1k views

On the link below, I have an application with some route problem and I can't figure out why this is happen. I'm using Node.js to configure a http-server. When I try to access localhost:8080/#home, ...
Raagatzo's user avatar
0 votes
1 answer
126 views

i have angularjs 1 project. i have used ng router. i want to use url appName in templateUrl path, so how can i do this ? after adding this i am geeting below error. ReferenceError: appName is not ...
Sangram Badi's user avatar
  • 4,304
0 votes
0 answers
148 views

I have a gulp server with AngularJS 1.6 application. I have an ng-router. I am trying to remove #! symbol from the url, so I have used ng-router. I have used $locationProvider.html5Mode(true); and in ...
Sangram Badi's user avatar
  • 4,304
0 votes
0 answers
44 views

I want to pass the Response return by the $http.post to another controller. I tried so many ways and also searched on the internet, but i not reach to the point. Function "evaluateScore()" inside ...
krishna amarghade's user avatar
1 vote
0 answers
84 views

I have an AngularJS website based on Firebase. I have managed to remove the # prefix and reqrite urls like /#/home to /home, using the code below: .config(['$routeProvider', '$locationProvider', ...
towi_parallelism's user avatar
0 votes
1 answer
49 views

I display some "courses" in a list by assign all courses to angular var and use ng-repeat to show all "courses". When user click on "course" the application need to load a view (by using ng-view and ...
lio lrn's user avatar
  • 31
1 vote
2 answers
1k views

I have been trying to make a angularjs application where I want to route to a different html page on a button click. But is not working for some unknown reasons. My html code <!DOCTYPE html> &...
usersam's user avatar
  • 1,265
0 votes
1 answer
439 views

In my angularjs application I am having index.html in public folder which have below code, <body ng-controller="TheController"> <div id="startdiv"> <label>Username</...
usersam's user avatar
  • 1,265
0 votes
0 answers
99 views

Why "main" is not being displayed in the URL ? Here is the Plunker. index2.html is the working file. I have modified index2.html to index.html to include routing but it's not working. app.js has ...
Rahul's user avatar
  • 183
0 votes
1 answer
1k views

I have problem with controller load when I triggered ng-route. This is my main page: <!DOCTYPE html> <html> <head ng-app="testapp"> <script type="text/...
imma hanitya's user avatar
0 votes
0 answers
67 views

I am learning how to implement routing in AngularJS. Everything else is working fine but the views are not getting updated when I click on the navigation. How can I achieve the desired functionality ...
s4tr2's user avatar
  • 415
2 votes
1 answer
384 views

Is it possible to get previous back hit route and compare with current route if the user were in current page before in angularjs ng-route? e.g If user is on list feed and click on item then hit ...
Generall Omosco's user avatar
0 votes
1 answer
423 views

In angularjs, I have already made view templates consisting of multiple controllers. Now while routing can we specify multiple controllers to one template or there should be only one controller for a ...
Navneet Priya's user avatar
0 votes
1 answer
40 views

var myApp = angular.module("myApp", ["ngRoute"]); myApp.config(function ($locationProvider) { $locationProvider.html5Mode({ enabled: true, requireBase: false }); }); myApp....
Junaid Farooq's user avatar
0 votes
1 answer
1k views

I am having an issue with using html5Mode with ngRoute not quite like issues others have had with the same thing. Here is the most relevant section of my code: (function () { var config = function (...
readyready15728's user avatar
2 votes
1 answer
1k views

I am new to angularJS . I am stuck on above error.here is my index.html <body ng-app="myApp"> <div ng-view></div> <a href="table">click</a> <script src="....
Indrajeet4192's user avatar
0 votes
1 answer
274 views

Following is a HTML file which is used to enter a movie title and search results are displayed. I need a menu to this page, which which redirect to different pages and those pages will like about us, ...
user avatar
1 vote
2 answers
52 views

I'm new to AngularJS and I tried creating a sample login page and I tried routing to other page on successful login but nothing shows up in ng-view and my code has no error. What could be the problem? ...
Ashok's user avatar
  • 1,036
0 votes
1 answer
104 views

angular.module("newsApp",["ngRoute"]) .config($routeProvider=>{ $routeProvider.when("/edit",{ templateUrl : "views/addNewsView.html" }); $routeProvider.when("/newsList",{ ...
jack_snipe's user avatar
0 votes
1 answer
57 views

Not getting redirected to login page my profile page is an html and main is the login page. I tried redirecting it to both the pages but it keeps going to the catch block as soon as a relocation is ...
Chathurya Lahari's user avatar
28 votes
3 answers
92k views

Currently, when I refresh a page from a route like http://localhost:4200/feedback it stays on the same route. But I want the route to redirect to http://localhost:4200 I saw people have asked ...
simplelenz's user avatar
1 vote
0 answers
135 views

i need a clean URL for my angular JS project. And i am using ui-Routing(nested routing). app.config(function($routeProvider,$stateProvider,$urlRouterProvider) { //State routing $urlRouterProvider....
Paul Cheriyan's user avatar
0 votes
1 answer
567 views

I want to be able to click on the anchor in the #leftDiv and make the UI router template open in the #rightDiv. So, when I click on Hello Plunker 1 in the #leftDiv, I want peopleOne.html to open in ...
Doe's user avatar
  • 379
0 votes
0 answers
56 views

when i try to route using route parameter, partial templates does not get loaded(and no error is displayed).But if i hard code the url in config file, it works. i am using angular 1.4.7 version. ...
VivekT's user avatar
  • 81
1 vote
1 answer
56 views

Hi I'm learning angular js. I'm using angular 1.5.6 version. Here is my code <!DOCTYPE HTML> <html ng-app="NoteWrangler"> <head> <link rel="stylesheet" type="text/...
e.k's user avatar
  • 1,363
1 vote
1 answer
68 views

It does not work with the specified templateUrl: test.html but works if you specify the template: 'Hello ' WORK app.config(function($routeProvider){ $routeProvider .when('/test', { ...
Саске's user avatar
0 votes
0 answers
56 views

Body of my index page looks in the following way: <body > <div ng-view></div> </body> I config my app in this way: app.config(function($stateProvider, $urlRouterProvider, ...
quarandoo's user avatar
  • 369
1 vote
0 answers
80 views

So I want to create a SPA (single page application) using AngularJS' Routing with ng-route. The thing is that a few of the html pages use jQuery or load external JS files containing jQuery (libraries ...
user3672173's user avatar
0 votes
1 answer
46 views

I am not able to figure out why this behaviour occur. Each time I try to load new location by clicking anchors, it redirect to root location. I am builing my app in subdirectory http://localhost/myapp/...
mia's user avatar
  • 1,248
0 votes
1 answer
58 views

I want to perform a reload of a route ONLY when there's not a route change, in other words reload a controller when a button that takes to its route is clicked. In my view in the ng-click directive I ...
Marilyn García's user avatar
0 votes
1 answer
49 views

I build a simple app with an index.jsp (as a welcome page) and after a form-login submission directly to spring controller, i return either index.jsp or homePage.jsp (when user credentials are valid). ...
G-V's user avatar
  • 98
1 vote
0 answers
178 views

I have the following code for routing to a survey. When I access it from another partial in my angular application like this '../fill/' +$scope.fill[i].id; which results in this url 'http://localhost:...
Tidi's user avatar
  • 105

1
2 3 4 5
7