Questions tagged as 'angularjs'

0
answers

Angular CheckBox JS Questions

I have a small catch in my application, I have a Grid with check-box and a check-box to mark all . I want a function that unchecks the check-box that marks all when you do not have all grid check boxes checked. <table> <thead...
asked by 02.08.2017 / 20:51
0
answers

How to disable an item from the list so it is not checked, just to show on the combo?

How do I leave an item disabled in this plugin: ui.multiselect ? link Code: angular.module('ui.multiselect', []) //from bootstrap-ui typeahead parser .factory('optionParser', ['$parse', function ($parse) { //...
asked by 11.08.2017 / 23:21
1
answer

Redirect to the homepage after logged in - AngularJS Ui Router

I'm using AngularJS 1.6.4 with ui-router and I need to redirect the user to the main.html page, in case the login is successful. My routes are configured like this: var app = angular.module('odontoSystem', ['ui.router']); app.config(functi...
asked by 12.08.2017 / 13:54
1
answer

Problem with angle selection

In the HTML that I'm moving, I created a select where the selected option is pulled from a script in Angular. It uses data.singleSelect to pull the data and put the selected value as the selected option, when I try to put that se...
asked by 08.08.2017 / 16:07
1
answer

UL with CheckBox Problems AngularJS

I'm trying to create a CheckBox tree but I'm having problems with my policy when passing the model.    Follow the code below: <ul class="main-level"><li> <mdi-input-checkbox mdi-reverse="true" mdi-model="checked"...
asked by 28.07.2017 / 21:33
1
answer

Modal does not return updated validation error result when submitting a request $ http ()

{"permission": true, "title": "ALUNO: aDSadaD", "question": "Deseja ativar este Aluno?", "usuario": { "id": "42247", "usuario": "alunoguten3360", "role": "student", "role_formatted": "Aluno", "nome": "aDSadaD", "options_r...
asked by 26.07.2017 / 15:29
1
answer

Getting the time typed in javascript

Person, I have a simple form where the user should enter the time. <form name="formAgendamento" class="formAgendamento"> <label>Dia</label> <input class="form-control dia" type="date" name="dia" ng-model="agendamen...
asked by 10.08.2017 / 22:51
1
answer

How to make a radio ion required, or make the button idle until you do not choose an option?

How can I make a radio ion as required, or disable the button if nothing is selected? <ion-radio ng-model="escolhido.categoria_comida_cod_categoria_com" ng-value="'{{item.categoria_comida_cod_categoria_com}}'" ng-required="true">{{item...
asked by 23.07.2017 / 03:01
0
answers

ng-click shoots twice with a click on the mobile resolution

I have the following problem:   ng-click fires twice with a click on the mobile resolution, when executed in the browser there is no problem. $scope.consultaItensMesa = function consultaItensMesa(mesa) { try { if (!mesa.show_item)...
asked by 20.07.2017 / 15:54
2
answers

Delete Method Does Not Work

Good Morning I'm learning Angular JS and I'm having trouble making my delete method work. Does anyone know where the error is? JS Code angular.module("listaTelefonica", []); angular.module("listaTelefonica").controller("listaTelefonicaCt...
asked by 20.07.2017 / 14:45