Questions tagged as 'angularjs'

1
answer

HTTP Error 404.0 - Not found - IIS

When I make a AJAX request, the strange thing is that when I run it locally it works perfectly but when I upload it to IIS it throws me the following error.    HTTP Error 404.0 - Not Found       Details:       Module: IIS Web Core   No...
asked by 23.03.2017 / 18:02
1
answer

IONIC2 Get POST data

I need to post a user id and collect the necessary information from the server (the server part already works) and return a JSON. Most of the problems I have had with the cors but despite having searched, I have not found the solution. var lin...
asked by 11.03.2017 / 00:04
3
answers

Error when consuming an api web service from angular $ http.post? [duplicate]

The error is as follows This is my POST method in the Web Api // POST api/values [HttpPost] public string Post(Persona persona) { return "response: \"Suscrito\""; } and this is my angular code. $http.post('http://localhos...
asked by 12.03.2017 / 22:56
1
answer

AngularJS: Do not load the created routes

I have the following problem, they do not load the routes: My directory contains the following structure: The HTML is as follows: The routes have the following configuration: I tried changing the routes by:...
asked by 23.03.2017 / 22:14
1
answer

angular.js error? body = 1: 12809 Error: [$ parse: syntax] Syntax Error: Token ':

Greetings: I am trying to send the following class: ng-class="letter: letter.show" but I get the following angular error: Error: [$ parse: syntax] Syntax Error: Token ': is an unexpected token at column 6 of the expression [letter: letter.sho...
asked by 02.03.2017 / 20:59
2
answers

While in angularjs

I need advice on the following problem: I am working on a number taking software, I have two instances of work. One is the Totem that is where I ask, I take, I acquire my number to be served and the other is the control panel, a Web-app that...
asked by 02.03.2017 / 18:34
1
answer

AngularJS - Can not find API driver

Colleagues, I have the following problem: when wanting to access from a controller js to an API controller just to bring a list of users, the console sends me error 404. Service that accesses the corresponding controller, passing as parameter...
asked by 15.02.2017 / 17:07
1
answer

Get the id of a query in jquery Api Rest

I have this jquery script that brings a json hosted in a rest api $( document ).ready(function() { $.ajax({ url: "http://localhost/api_megacable/cable", data: "{}", dataType: "json", type: "GET", co...
asked by 02.02.2017 / 21:02
2
answers

Get some type of identifier for a mobile device with Ionic, ngCordova?

I need to obtain an ID or some kind of unique identifier of a mobile device where I install my APP, if someone knows how to do this I would greatly appreciate your help.     
asked by 01.02.2017 / 22:58
1
answer

Error in PUT call angularjs

I have a problem with a PUT call in AngularJS. When making the call to the API at the press of a button, it makes a first request, but then performs a second one, with the same parameters, which generates me in error in the response. API...
asked by 08.02.2017 / 12:33