I'm setting a $ http request for zip code, so sometimes it takes too long for the API to return a response, and the user is stuck with continuing to checkout.
The function worked, but when I tried to add the timeout it stopped.
FUNCTION:...
I have a model in which I fill in the fields of a form (use asp.net mvc and the view is typed), that is, I load the fields of this form according to the data of the database for the user to change on the screen
What I want to do is a "undo" bu...
I've got a Json from an API that returns this result:
[
{
"marca_id": 4,
"modelo_id": 2708,
"versao_id": 65344,
"cor": "Azul",
"opcionais": [
{
"opcional_id": 6,
"opcional_nome": "Airb...
Hello, I need to extract only 1 image of this Json. Here is my angled code to pull the records from api via get.
var app = angular.module('myApp', []);
app.controller('carrosCtrl', function($scope, $http) {
$http.get("http://www...
Good afternoon
Does anyone use the select2 component ( link ) to create dropdown components?
I'm going through the following problem, I have two components in a javascript that are placed on the screen as the user adds new lines. And in th...
I have an ionic application, however I need to do a search or filter on the contacts that appear on the screen but I can not and the worst that does not return any errors:
My control:
.controller('ContatosCtrl', function($scope, $timeout, $...
Good evening. I'm using Bootstrap pagination with Angular.js.
I can get the bank details and list it, it looks beautiful, etc ... the way I needed it.
However, I need to open a modal window and this worked when I was using the javascript func...
I have a controller that returns a JSON object in the following format:
[
{"idCliente":1,
"nomeFantasia":"Flores",
"razaoSocial":"Transportes Flores Ltda.",
"contatosClientes":
[ {"idContatoCliente":1,
"dddCelular":21,...
I got the code from Material Angularjs Start to see how it works, I removed the User controller and I'm trying to program my own Controller, but it's giving a bad error and the layout does not load, I'd like to know what I'm doing wrong, follow...
I have a problem with my directive, it gets a ngModel to insert a value in a text field inside it, but when this model comes with some value it just disappears with it.
Basically I want to pass ngModel to my directive, if there...