Skip to main content

All Questions

266 questions with no upvoted or accepted answers
4votes
1answer
3kviews

Calling href with Angular to open modal

Context I´m working in this Tutorial, is about CRUD with DataTable, but difference I´m using Asp.Net WebApi with Angular I´m into step 9, where tutorial made partial views for pop-up window, but I don´...
Josep's user avatar
3votes
1answer
294views

VS2017/Resharper2017 "cannot resolve tag" for custom angular2 components in cshtml pages

I am creating my first Angular2 (4) app in Visual Studio 2017 Community Edition with Resharper Ultimate 2017.2. I have created a number of custom angular components with valid selectors such as "my-...
michn's user avatar
3votes
0answers
261views

Set correctly SignalR-hub configuration with AngularJS

I following this tutorial to implement push notifications with SignalR and toastr before implement it my app.js is like: (function () { 'use strict'; var app = angular.module('...
Ledwing's user avatar
3votes
0answers
182views

Immediately Invoked Function Expression with Angular 1 throws exception

I was reading the Angular Style Guid and it recommends using Immediately Invoked Function Expressions (IIFE). When I converted my app to use it, I started getting an exception at runtime everytime I ...
Johnathon Sullinger's user avatar
3votes
3answers
1kviews

Angular HTML5 mode routing gives he resource cannot be found

I'm developing an application in .net mvc with angularjs. When I don't use html5 mode it works fine, but when I set html5 mode to true the server calls that address giving me an he resource cannot be ...
Diego Unanue's user avatar
3votes
1answer
841views

Angularjs to assign $scope to preexisting MVC model data

So I'm using ASP.NET with MVC 5. I have a Model called 'Employee' which holds a 'FirstName' value. I have a list of Employees, and I'm trying to use angular to grab all of the 'FirstName's in Employee ...
Daath's user avatar
  • 1,979
3votes
0answers
472views

ASP.Net MVC "mini spas" and Angularjs Routing

I am having a hard time trying to figure out what is happening with routing in MVC and Angularjs. I am seeing different behavior between the 1.0.x version of Angularjs and the 1.3.x version. I am ...
mojo722's user avatar
3votes
0answers
1kviews

angularJs ng-grid shows blank grid first

I have a complex form with several tabs. One tab has ngGrid on it and I am trying to apply pagination. My code is very similar to what we have on the ng-grid sample page except that it's a bit simpler:...
Naomi's user avatar
3votes
1answer
2kviews

Post AngularJS model to complex model in ASP.NET MVC controller

I'm trying to create a model in JavaScript and post it to an ASP.NET MVC controller method via $http.post. When inspecting the JSON that's posted, my Address properties are populated. However, when ...
Brett's user avatar
  • 1,973
2votes
0answers
392views

Refresh All opened tab in a website at once - Javascript

I have the auto logout function in my website and 30 seconds before the auto logout pop up will appear and we can press the continue button to continue the session. But when I open multiple tabs in ...
Pramodi Samaratunga's user avatar
2votes
0answers
2kviews

download file with blob from asp.net mvc

I want to download an excel from my angular controller using blob. the server code of the mvc application is [HttpGet] public HttpResponseMessage Download(SearchModel search){ ...
user3401335's user avatar
2votes
0answers
5kviews

AngularJS Http Post - 500 Internal Server Error

I know there's a lot of other 500 (Internal Server Error) questions out there, but reading them is still not helping my case. I am working on two angularjs methods that have $http post calls in them. ...
swallis1's user avatar
2votes
1answer
108views

Why is running AJAX queries in parallel much slower than doing serially?

I have a page where angular uses ng-init to run a few ajax call's to populate the page. The page took about 1s to load, and I found that strange so I did a little digging. This was the original code ...
devzero's user avatar
  • 2,680
2votes
1answer
2kviews

Angular js National identity card Number Validation

I created directive for validate nic no as follows CustomerCompanyApp.directive('nicOnly', function () { return { restrict: "A", require: 'ngModel', link: function (scope, ...
Thushara's user avatar
2votes
5answers
1kviews

the url can't be found in angularjs

I am so new in webapi and angularjs.I am trying to develop an angular js .i have this controller: public class ManageStudentInfoController : Controller { // GET: ManageStudentInfo ...
Ehsan Akbar's user avatar

153050per page
close