Questions tagged as 'angularjs'

0
answers

How do I trigger a validation of angular-input-masks?

I have a field: <input type="text" name="DataNascimento" class="form-control data" ng-model="EscolherCurso.DataNascimento" required ui-date-mask/> I preferred to use jquery's datepicker. But when jQuery fills in the value, the ang...
asked by 05.08.2016 / 14:33
1
answer

Exchanging from partial to script without reloading the Angular application

Hello, I was doing some tests. And if I want to do a conditional for a single button, I can send it to a Partial passing a parameter, or not. And I made a button calling this function: Controller $scope.continuar = function(){ $http.get('h...
asked by 04.08.2016 / 19:14
0
answers

How to create a field dynamically in Ionic and / or Angular Js?

Have a list of products, but my list does not have the quantity field, and neither should have because it would be stock control and that's not it. I want the quantity field to when I click (+) add 1 and click (-) to decrease 1. I try to c...
asked by 02.09.2016 / 00:13
1
answer

Get specific field in JSON and store in a variable on Controller

I have the following code, and I would like the categories that are in the json array to come from an external JSON file, but I just could not get the names of the categories and do this example: (function () { var app = angular.modul...
asked by 27.07.2016 / 16:04
1
answer

Display results of a search in the same View AngularJS

I'm developing an app to be able to study, and I was putting everything in the controller, all the queries and everything. But after that I decided to move everything to a service (I saw that it is correct to do so), but when I went through the...
asked by 23.08.2016 / 03:03
1
answer

How do I change the color of the md-tab when I press?

I started using Angular Material recently and I'm using tabs. I wish I could change the color of a tab when I am pressing, but I can not. Could someone help me?     
asked by 25.07.2016 / 01:28
0
answers

Application AngularJs works in Chrome, but IE does not work

I have a C # web application, with a page with client data. By changing the data using Chrome and then saving, the data saves to the database and, via the screen, is updated correctly. When doing the same in IE, the page returns that saved, howe...
asked by 29.07.2016 / 13:42
1
answer

Vector gets values wrong

Hello, I'm using angular and pouchdb to insert value into a vector. but currently with the code below at the time of using the command console.log(vetorPrincipal); it returns so Thecorrectwaywouldbetoreturn Mycodeistheonebelow.varvetorPr...
asked by 18.08.2016 / 19:37
0
answers

Should I use create a service of type "Provider" only to verify if the user is logged in?

I have an application that makes use of the ngRoute module. When the url of a restricted page is accessed, I check if the user is logged in and then allow access. But I was replicating this routine in various parts of my code. So I tho...
asked by 10.08.2016 / 21:26
0
answers

Textarea Editable Lines - Thymeleaf and Angularjs

I'm building a basic document template, using the same idea as my colleague ( Paulo Henrique ), but I do insert the data by fields external to the form, in an earlier moment of the client's search. The difficulty comes from the need to edit this...
asked by 18.07.2016 / 21:02