Questions tagged as 'angularjs'

1
answer

Filter for a multidimensional array

How could I do to bring everything in the view and filter on a combobox by the class option? $scope.dadosUserAndTurma = [ { idUser:20, nome: "Carlos", turmas: [...
asked by 19.05.2017 / 17:01
1
answer

AngularJS is cleaning the parameters of Url

I have a system with Angular and Java. In the initial route I read the url parameters (some user information, such as code, etc.) and saved in $ rootScope to access throughout the application. If I access directly through the browser, it wor...
asked by 09.05.2017 / 13:37
1
answer

How to pass parameters and get them with $ state.go of angular?

I have the following code in the controller app.controller('loginCtrl', ['$scope', '$stateParams', '$http', '$cordovaSQLite', '$window', '$state', function ($scope, $stateParams, $http, $cordovaSQLite, $window, $state) { $scope.clienteId = n...
asked by 10.05.2017 / 22:07
2
answers

Send an array of objects in an ng-click?

I have the following doubt in this code. <table class="table table-bordered table-hover"> <thead> <tr class="bg-info table-responsive table-bordered table-striped"> <th>Cpf</th>...
asked by 30.04.2017 / 21:58
1
answer

TreeView with checkbox and AngularJS?

Does anyone have any example code, treeview with checkbox , done in html, angular and json ? Note: I looked at several examples around, but I could not make any of the examples work.     
asked by 07.08.2017 / 23:43
1
answer

Loading date in millisecond format in angularjs

I need to load%% of dates that are stored in values in millisecond format. Example <label>Data de expiração:</label> <input class="form-control" type="date" name="dataexpiracao" ng-model="PontoRelevancia.dados_Evento.datae...
asked by 07.08.2017 / 20:35
2
answers

Countdown incorrect date

I'm using Countdownjs to insert a count in my project but it is returning the wrong day. I'm using AngularJS, here's the directive I created for the count: .directive('tempoPercorrido', function($interval){ return { link:...
asked by 15.03.2017 / 19:21
1
answer

Clear fields with Angularjs

I have three tabs with content. All interaction with the fields is controlled by AngularJS. I need to clear the fields after changing the tab (when clicking). How can I do this? HtmlCode<!DOCTYPEhtml><html><head><t...
asked by 09.02.2017 / 20:56
2
answers

I can not insert data into the SQLite table

I want to insert some data into my SQLite table. Creating the table in .app $cordovaSQLite.execute(db, "CREATE TABLE IF NOT EXISTS tbprodutos( id INTEGER PRIMARY KEY, codbarras NUM, desccupom TEXT...
asked by 10.02.2017 / 12:21
1
answer

Angular, Java Service REST

I'm trying to persist (insert data) using AngularJS and WebService REST in Java, when I click Insert, the following error appears in the console: >    POST link 415 (Unsupported Media Type). What could it be? // WEB.XML <?xm...
asked by 19.02.2017 / 18:06