Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
391 views

Angularjs routing for multiple Asp.Net MVC controllers with POST form request

I have 3 Asp.Net MVC controllers and all have one Index view. I am trying to do angularjs routing for the actions. Assuming the urls are like http://localhost/Budget/Index (default controller) http://...
Ali Baig's user avatar
  • 3,867
0 votes
1 answer
312 views

Angular MVC Routing with Custom Controller

I have an Angular MVC app that has couple of controllers. Default and another custom controller that I added. http://example.com/home/ http://example.com/ManageSummaryInfo/ All my business logic ...
Learner's user avatar
  • 1,705
0 votes
3 answers
2k views

Why angular routes are not working in ASP.NET MVC

I am new with angularjs, and implementing it in ASP.NET MVC. I read few articles and implement code like below, this is my layout page, @{ Layout = null; } <!DOCTYPE html> <html> &...
Keval Patel's user avatar
2 votes
2 answers
331 views

Angular ui-routing and Asp.net Route not Working

I am fairly new to Angular, and I am trying to do an example with a parameter. The one without the parameter works fine, but the link with the parameter does not work. What am I doing wrong here? ...
Jean B's user avatar
  • 341
0 votes
1 answer
374 views

Asp.net MVC 4 Catch All Routing

I've been learning and doing examples with angular and Asp.Net MVC. I ran into an issue with a catch all route. After adding the catch all route, my browser kept crashing. If I remove the catch all, ...
Jean B's user avatar
  • 341
0 votes
2 answers
412 views

AngularJS Nested View

Edited on 10/05 I've been following this anjularjs and asp.net tutorial. I am trying to add some additional things on my own, but I am stuck. I am getting a JSon object from the server, and I am ...
Jean B's user avatar
  • 341
2 votes
2 answers
9k views

Angularjs html5Mode page refresh breaks the routing in asp.net mvc

I am performing angularjs routing in my asp.net application.I have a folder name template which consist of 3 html pages Home,About,Error. Here is my app.js file var app = angular.module('myApp', ['...
Ghazanfar Khan's user avatar
4 votes
6 answers
23k views

AngularJs routing with Asp.Net Mvc

I'm trying to build a SPA with Asp.Net MVC. for this I'm using angularJs routing . This is my project hierarchy. My Layout.cshtl code <html lang="en" ng-app="ProjectTrackingModule"> <...
Amit Kumar's user avatar
  • 5,962
0 votes
1 answer
484 views

angularjs ajax post fails Json objects with MVC 5 500 Error

I have an update button that is tied to my angularjs. I keep getting 500 error. When I click on the button, I see that I am posting ID 1 and today "4" but for some reason my MVC though I have a ...
NoviceDeveloper's user avatar
1 vote
1 answer
691 views

How can I make ASP MVC localization routes without interfering with AngularJS routes

I'm starting a project with ASP MVC and AngularJS, I would like to have ASP MVC to handle the localization from within the URL as something like this: http://localhost:4416/en/#/contact or this http://...
ghiscoding's user avatar
  • 13.4k
1 vote
1 answer
525 views

urls and angularjs with mvc

I have a problem with my angular routes when entering the URL directly in the URL bar of the browser. What happens is this. When my app loads up I call a single MVC controller which loads a MVC view ...
Ian Richards's user avatar
  • 1,628
1 vote
1 answer
2k views

Routing with angularjs in Mvc application

I have been continously trying to implement routing in Angularjs with Mvc 4.0 project but I am not able to do it. I have created a empty MVC 4.0 project and added a controller "HomeController". Then ...
Sweetie's user avatar
  • 1,368
2 votes
1 answer
300 views

Starting with single page apps

I am a beginner in Angularjs and I have downloaded the template "Angular Start" for angularjs. It has come with some inbuilt files . Like homecontroller, AppjsFolder etc. I wonder how I can start ...
Sweetie's user avatar
  • 1,368
0 votes
0 answers
635 views

AngularJS routing failure

Please can someone tell me why the Views are not being inserted into the ng-view placeholder? I'm using the standard Visual Studio MVC project template with a HomeController and all my .cshtml files ...
Bobbler's user avatar
  • 633