Questions tagged as 'angularjs'

1
answer

Error when using limitTo as a filter in ionic 2

I have a problem and I want to limit the number of letters that a property of an object represents using limitTo , I get an error    Error: Uncaught (in promise): Error: Template parse errors: The pipe   'limitTo' could not be found ("c...
asked by 23.06.2017 / 19:25
2
answers

Redirect only if there is a token but passing the last referer

I'm doing a redirection in site 1 to site 2 using this script built into the head of site 1: <script> window.location.href = 'http://www.sitio2.com/?redirect=true'; </script> and then in site 2 in the index.php I include this in...
asked by 24.05.2017 / 03:15
2
answers

Object undefined angular

// app.js $scope.result = {}; //$scope.result = []; for (i = 0; i < object.length; i++) { $scope.result[i].value = object[i].value; $scope.result[i].justification = object[i].justification; }; This is the error I get:    $scope...
asked by 24.03.2017 / 14:49
1
answer

show a message of Loading ... ** Angular **

I have a download of a PDF document, currently there are times that it takes to make the request and I do not know how to see what state the request is in to show a loading message. function downloadPDF () { $log.debug('btn descargar P...
asked by 24.02.2017 / 18:03
1
answer

How do I call AJAX with angularjs 1.6 and laravel 5.1? [closed]

I am trying to make an AJAX call from angular 1.6, my project is synchronized with laravel 5.1, I have a connection to the bd and I already check it, I just need to download the data and save it in vectors of js, each column a vector !!! Bein...
asked by 30.01.2017 / 18:11
1
answer

I can not find my error in a project using Angularjs creating a directive type element

Good morning. I have a question in a project that I am doing, in which I use angularjs and html. What I have to do is basically create a directive type element that contains all the content in a table, which depends on an object in a controller,...
asked by 23.03.2017 / 01:52
1
answer

Avoid double click of an ajax, angular

know how to avoid double click when sending data in an ajax ?, bone click to send the data and while they are sending do not let it come back click again, I put a loading but that is not enough. Thank you very much .controller('productoGctrl',...
asked by 19.12.2016 / 20:26
3
answers

Rest angular Access-Control-Allow-Origin

I get this error:    Request from another blocked source: the same origin policy   prevents reading the remote resource in link   (reason: missing the CORS header 'Access-Control-Allow-Origin'). My server is an application Java i...
asked by 19.12.2016 / 13:04
1
answer

change background to views in angularjs

It turns out that I have a background in CSS: body{ background-image: url("../images/fondo_mix.png"); background-size: cover; height: 100vh; background-attachment: fixed; } I use it in all views, except in two which have dif...
asked by 27.12.2016 / 23:24
2
answers

Get json of a rest api and show it in angular

I have this rest api that returns names of a database. The issue is that I have tried several ways to show it in angular and I have not managed to do it. Url of the answer .json http://samp.newclan.com.uy:3000/api/names AngularJS...
asked by 03.01.2017 / 18:53