Posts by Eduardo Bobato • 1 point
4 posts
-
-5
votes1
answer164
viewsQ: Regex For Numeric Fields
I need a regex that validates numbers, commas, and period it must contain numbers and if it contains a point or comma, have only one of the two, and only once 1.1 - true 1,2 - true 2 - true 1..2 -…
-
1
votes2
answers415
viewsA: Calling functions in ngClass
I talked to some friends and found a way, which is ng-class="[styleClass(5),{'text': true, 'padd': true}]"
-
0
votes2
answers415
viewsQ: Calling functions in ngClass
I’d like to call in functions in the ngClass. I was able to call only the function, and if I want to call other classes it does not take, if I just put the function in the class it can…
-
0
votes1
answer57
viewsQ: Error using POST Angularjs
My controller is like this: app.controller("listaTelefonicaController", function ($scope, $http) Inside it is my adding function ctrl.adicionarContatos = function (contato) { contato.telefone =…