Questions tagged as 'angularjs'

0
answers

Problem with angular service method

I have two methods in my angular service .. which are: app.service('entidade', function($http) { this.getEntidade = function() { return $http({url:'/user/entidades', method : 'GET', async:false}).then(function(response) {...
asked by 06.04.2018 / 16:22
1
answer

Pass the id of an element as a parameter to a function?

I have a table on my site that is automatically generating an id for each table column. I placed the function call on each line. How do I pass the id of this <td> per parameter on the function so that I can identify which row...
asked by 15.03.2018 / 17:46
1
answer

Return json api no ionic 3

I have the following problem, I am using a api , which I created, when I use the method find I pass email and it returns me if found email e senha Method buscarEmail(){ this.webservice.findConta(this.ema...
asked by 09.03.2018 / 15:00
1
answer

Uploading PDF file

I need to upload pdf files with angular js. I have field one for the user to input a file, however how do I send this file to the back end and save it to some folder?     
asked by 08.03.2018 / 20:27
0
answers

How to pass a controller variable to the service?

I have a question, how do I step into a service a controller variable? I have a screen that has a table, when the user clicks on a row of this table, it goes to another screen with the data filled in inputs. I have searched the internet, and...
asked by 12.03.2018 / 13:34
0
answers

Can I use jQuery code in a .Factory and inject the controller?

I'm developing a site using AngularJS ES6, and on this site I needed to perform a function and I was not getting it. I searched the internet for a similar function to understand how I could do it and found a function in jQuery. In trying to p...
asked by 23.02.2018 / 19:25
0
answers

Error sending xml data

I have the following message: [{erro: "Formato de usuário inválido"}] Typescript code var headers = new Headers(); headers.append('Content-Type', 'application/x-www-form-urlencoded'); let urlSearchParams = new URLSearchParams(); urlS...
asked by 21.03.2018 / 19:19
1
answer

Ckecklist with angular

I need some help. I want to create a checklist in which the items are true according to a list that I move to the selected scope. And this list is updated as I go by clicking on the checks. If you click on All the list must be updated with all i...
asked by 16.02.2018 / 18:02
0
answers

Ionic - build is giving error

When I'm doing build with code: ionic cordova build --release android is giving this error: What is the Solution ??     
asked by 13.02.2018 / 14:37
1
answer

Angular 1.6: Open a uibmodal inside another module using "solve"?

I have a problem to open a uibmodal inside another uibmodal passing the same through resolves. I have two modals declared inside the same controller, Modal1 and Modal2. Modal 1 passes modal2 in resolves, everything works fine, minus the "result....
asked by 21.03.2018 / 12:14