Questions tagged as 'angularjs'

0
answers

Request $ http does not return values

I'm trying to set up a factory for multiple requests, but the result is always undefined , what could be wrong? My angularjs: (function(){ angular .module("store", ['ui.bootstrap', "ngAnimate", "ngSanitize"]) .controller("homeCtrl", a...
asked by 25.07.2017 / 17:32
3
answers

Click for more than one item

I need to click on each BTN to open a content with information, in the example each click open the 3 contents, how do I make this click dynamic and each button open its contents, open one at a time, similar to behavior a tooltip. var app =...
asked by 25.07.2017 / 14:41
0
answers

CKEditor taking too long to load

I'm using the angularJS version of CKEditor to generate my text fields. The problem is that it only calls the plugin when the page is already loaded. Because of this, he expects all the images he has on the page to load only after loading the fi...
asked by 28.07.2017 / 14:59
0
answers

Angular 2 XMLHttpRequest can not load

I'm trying to do a POST request to an API and am getting this error:    XMLHttpRequest can not load http: // *. Response for preflight has invalid HTTP status code 400 However, when I make a GET request it works. My get method: getPe...
asked by 28.08.2017 / 19:24
0
answers

What are the best practices for using WebSocket in a SPA application? [closed]

I would like to know the best practices for implementing an SPA application with Angular using WebSocket.     
asked by 11.07.2017 / 21:45
1
answer

How to load this data created in an edit screen

Next, I have this registration screen where clicking the "+" button will add text type inputs (according to the attached code) My problem is that this creation is dynamic, the person can add either 1, when 2,3,4..or it's N. I'm going to save thi...
asked by 12.07.2017 / 16:37
0
answers

uibModal Angular

I'm not able to pass via $ctrl.close(data) to controller using that component : uibModal that I'm using: angular.module('sisApcd').component('buscaPessFis', { templateUrl: 'app/components/buscaPessFis/pessFisBusca.ht...
asked by 07.07.2017 / 21:06
0
answers

Use history in angular js

Is there any way to use browser history in a SPA angled application? I'm developing a client search application and I've been asked to have the ability, for example, when 5 searches are made, to be able to go back to the results of the previo...
asked by 11.07.2017 / 18:01
1
answer

JavaScript Parameters Passing to [Webmethod] C #

I would like to know how to pass parameters from a JavaScript call to an ASMX WebService Method without having to define a name for the parameters. Example: $scope.testar = () =>{ filtros ={ id:1, funcionalidade:02...
asked by 31.07.2017 / 15:17
0
answers

Place graph trend line

I have a graphic in my project and I needed to put a trend line, but I do not have the slightest idea where the code goes for it or how to do it: (function () { angular.module("registrationModule").controller("indicatorGraphFilterControlle...
asked by 13.07.2017 / 14:08