Questions tagged as 'angularjs'

1
answer

How to check if a file has been selected after it is still in the directory in JavaScript

In my application I use the javascript framework as javascript, and to select the files I use the following button: <md-button class="md-accent md-raised button-arquivo-margin" ng-disabled="vm.controladorRequisicao.requi...
asked by 05.07.2018 / 17:13
1
answer

Error http 419 laravel-cors?

To fix the crash of cors in api laravel I used the package Laravel Cors and followed everything I was informed in , but now it is returning an error when executing a request http post Error:    POST link 419 (unknown stat...
asked by 14.10.2018 / 18:47
1
answer

How to retrieve values from a ngdialog?

I'm having difficulty working with ngdialog , could someone please tell me how to retrieve data from a ng-dialog template? below the code I'm working on ngDialog.open({ template: "\...
asked by 04.09.2018 / 21:26
2
answers

Selected combo component

I'm having a problem loading the screen with a selected combo item. I've tried with jQuery, angled and it did not work. I already researched other answers here and none of the alternatives worked. Anyone have any idea what it might be? <...
asked by 18.06.2018 / 13:49
2
answers

Modal to edit Angularjs and Laravel

I'm trying to make a Modal to edit my data, using AngularJS and laravel as backend, but when I call a function in my ng-submit (), it is not invoked. This is my modal <div class="modal fade" id="mymodal" tabindex="-1" role="dialog" a...
asked by 01.06.2018 / 03:49
1
answer

I'm having trouble reading a variable from a service in other controllers

I have the following problem: I have a service where I create a variable that I will manipulate and send to another controller. This is my service app.service("maissaude", [ "$rootScope", function($rootScope) { $rootScope.nomeMi...
asked by 28.06.2018 / 21:29
1
answer

Return an array from a function in javascript

I'm trying to return an array of a function to assign to a model in Angularjs. But the function return is undefined , but when I give console.log before returning the array is correct. How do I return the array clientes...
asked by 05.06.2018 / 15:27
1
answer

Display array data ngRoute

Good evening, I have the following situation. I need to display all user data when it is triggered. My view <div> <h1 style="text-align: center;">Lista de usuários</h1> <ul ng-repeat="usuario in usuarios">...
asked by 17.04.2018 / 01:17
1
answer

How do I stop leaving two radio buttons, side by side using Angular and IONIC 3

I am in doubt as to leave radio buttons next to another. Getting to do this normally, however I'm having problems because of the radio-group <ion-list radio-group> <ion-col> <ion-item>...
asked by 03.04.2018 / 22:20
1
answer

value passed via Service is not being updated in the second controller

I tried to share a scope between two controllers , and I saw that one option would be the service or a factory > that use the singleton pattern, but I have already tried both and what happens is that I can not set the value of a controll...
asked by 03.04.2018 / 21:24