Questions tagged as 'angularjs'

0
answers

Angularjs passing data to Modal

My problem is loading information into a modal. Controller Parent: App.controller('adminSolicitacoesCtrl', function($scope, $location, $auth, solicitacaoAdminService, EmpresaService, $filter, $rootScope) { $scope.solicitacao_modal...
asked by 07.06.2018 / 21:00
1
answer

How to filter dates by AngularJS?

I have this function that picks up how many payables there are and counts how many of them are within the range that I defined. But it is not bringing the information properly. $scope.filterDate = function(option) { var tam = $scope.billTo...
asked by 14.05.2018 / 19:09
0
answers

Register multiple fields 1 at a time

I need to insert a "line" at a time from a table, as in the image example below: .Iwillfilloutthisformandneedtoregistertheforminthebank.ButIneedtoberegisteredonelineatatime.Forexample:(Monday,08:30,16:30,30),dps(Tuesday,08:30,16:30,30).Thisi...
asked by 07.02.2018 / 15:28
1
answer

Cross-origin requests are being blocked

I need to consult some zip codes in viacep API ( link ), when I run get below: vm.buscarCEP = function(){ const cep = vm.empresaResponsavel.cep //RECEBE CEP DO CAMPO const apiViaCep = 'http://viacep.com.br/ws/${cep}/json/' $http....
asked by 04.05.2018 / 04:29
2
answers

API method fetches information but does not appear on the front end

I have a method of my API that searches the database @RequestMapping(method = RequestMethod.GET, value = "/entidadesUsuarioPermissao/{id}", produces = MediaType.APPLICATION_JSON_VALUE) public ResponseEntity<Collection<PermissoesPagin...
asked by 24.10.2017 / 13:29
0
answers

Problem to host angular application

I'm a beginner with angular and I want to host a simple application on the host uol to study. The server is working but I can not redirect it to the home page of my application. Thecodeoftheserver.jsthatisrunningisthis: // Load the http...
asked by 19.11.2017 / 18:13
0
answers

How do I put CSS correctly in an SVG rendered in the view via the use tag?

I'm using AngularJS to load an element, but it does not grab the CSS. A View: <svg version="1.1" id="body_1" data-name="body-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewB...
asked by 08.12.2017 / 14:40
0
answers

Render a policy

I have a directive that when I load the page it is rendered, the contents of that directive will undergo some changes during use. I wanted a medium that pushed a button at the press of a button to its default content.     
asked by 20.09.2017 / 13:34
0
answers

Edit Toasts text

I'm doing a component toast in angular, I can not use third-party components, but I need to make the open toast allow me to update your text in the view. Note I do not have the code yet, but I would like an idea if this is possible and if someon...
asked by 04.10.2017 / 15:40
1
answer

Upload pages without refresh by clicking the menu option

Good evening guys! I'm doing a school system, it will have access levels, menu for each access. I want to do the following, when I click on some option from the side menu, where it is written "BLANK" in the middle part, I want to appear the corr...
asked by 09.10.2017 / 01:19