Questions tagged as 'angularjs'

1
answer

Form validation in select with angular

How is the validation of select done using ng-required="true" ? For input I'm putting it like this: <form name="tarefasForm"> <input type="text" ng-model="tarefa.solicitante" ng-required="true" name="solicitante-tarefa">...
asked by 28.07.2017 / 21:24
1
answer

how to load a select with data coming from an API with AngularJS

Good evening, I'm not able to load a select on angularJS! It does not load, it goes blank. I'll post the code, if anyone can help me thank you !! Controller: <script> angular.module("cadastroMedico", []); angular.module("cadast...
asked by 06.06.2017 / 04:23
2
answers

Character count in textarea AngularJS

I need to create a way to show the quantity of characters remaining in a textearea tag of a description for a given profile. This part is the data entry: <textarea class="form-control" type="text" name="description_valid...
asked by 10.04.2017 / 15:38
2
answers

No Angular Routes 1.6

I'm a beginner in angular. My routes do not load in ng-view. When I click on the link my url looks like this    link   and nothing happens. No error is displayed on the console. I use angle 1.6. test.js var MyApp = angular.modul...
asked by 18.04.2017 / 00:17
1
answer

Validate List of radium buttons with Angular.JS

I have a list of radium buttons and I need to control by angular: Validations: one option at a time and display message. Code:<!DOCTYPEhtml><html><head><title></title></head><body><div><labe...
asked by 10.02.2017 / 21:50
1
answer

How to pass multiple arrays to page in PHP

→ $scope.items = []; → dados = $('#meu_form').serialize(); I would like to know: how to send / receive / read the above arrays to a page in PHP? JavaScript: app = angular.module("app",[]); app.controller("control...
asked by 05.01.2017 / 01:27
1
answer

Angular RequisitionJS

I'm starting with AngularJS and to study I created an application that I saw on the internet, but when I use the command "ng-include=" 'Footer.html' "inside the div it gives an error in the console. angular.js: 12578 XMLHttpRequest can not lo...
asked by 20.03.2017 / 12:59
2
answers

Add object within an object

is as follows, I have 3 tables. Cities, Bodies and Reasons. 1 City can have several bodies, and 1 orgão several reasons. My problem is that in a single page you have to appear all the organs of the city and within the organ all reasons of the...
asked by 08.02.2017 / 13:32
2
answers

How to check, for each item entered in the $ scope.items [], if the fields were filled

How to check, for each item entered in $ scope.items [], have Phone and CPF been filled in? Desired scenario: → The user must enter at least 1 item, if negative, clicking on "Send" will display an "alert" [ALREADY IMPLEMENTED] → W...
asked by 13.01.2017 / 16:52
1
answer

Very large select box content

I have a selectbox <select> HTML that has a very large content, there are more than 1000 records that should be loaded, but in performance issues I believe it is getting bad. I would like some solution in javascript, jquery or an...
asked by 03.11.2016 / 15:25