Questions tagged as 'angularjs'

1
answer

Policy receives no value

I have this directive: app.directive('mensagem', function($timeout, $rootScope){ return { restrict: 'E', scope: { msg: '=' }, template: '<div ng-show="animate &...
asked by 03.03.2017 / 12:30
2
answers

angularjs - POST an array of objects (JSON data) for the php page

$scope.informations = [ { "name": "asd", "rg": "1123", "certificado": null, "sex": null, "date": null }, { "name": "fsdf233412423", "rg": "123123", "certificado": null,...
asked by 21.02.2017 / 20:30
1
answer

Pass array as parameter for web api in php with angularjs

In my local environment I use PHP7 and developed API Restful for an application that uses AngujarJS. I needed to do a get request for Api and pass an array as a parameter and I did it that way $http.get("/Api/MinhaUrl.php", { params: {...
asked by 17.02.2017 / 14:37
0
answers

Ionic 3 - error in Admob

My application has admob ads, when I put and did run it appeared that error: FAILURE: Build failed with an exception. What went wrong: Execution failed for task ': app: processDebugGoogleServices'.    Please fix the version conflict e...
asked by 10.03.2018 / 14:23
1
answer

Order by timestamp dataTables Angular jS

Hi, I want to create a table with the following values: controllerScope.logsData = { ajax: { url: '/api/organizations/'+$rootScope.organization.id+'/alerts?type=logevent', dataSrc: '', beforeSend: function (xhr) {...
asked by 16.02.2017 / 12:08
1
answer

Pass parameters from the Web Service header?

I'm trying to make a web service call on AngularJS, however I'm getting the following error message in the browser console (I tested it in chrome and Firefox):    XMLHttpRequest can not load       No Access-Control-Allow-Origin header is pre...
asked by 06.02.2017 / 19:40
0
answers

Post in table N: N with node.js and angularjs

I have a N: N relationship and 3 tables: projeto , pagamento and projeto_pagamento . In a form, I want to register a project and 5 payments, what would be the best way to accomplish this insertion? I thought of doing a post...
asked by 06.02.2017 / 17:40
0
answers

Ionic top menu

I'm trying to make a top menu in ionic but this menu is getting on top of the content, I'd like to know how to leave the content below the menu Here is the code for the page: <!DOCTYPE html> <html> <head> <...
asked by 06.02.2017 / 16:20
1
answer

Buttons added to the table generated with AngularJS Datatables do not allow the execution of function in the current scope

I have a table built with AngularJS Datatables as follows: HTML <table datatable="" dt-options="concessoes.standardOptions" dt-columns="concessoes.standardColumns" dt-instance="concessoes.dtInstance" class="table table-condensed tabl...
asked by 15.02.2017 / 21:02
0
answers

How to update web page "Modal" without giving refresh (F5) after accessing last information?

This is my code for the Modal $scope.salvarObservacao = function (data) { if(data.dsObservacaoEvento === undefined | data.dsObservacaoEvento === '' ) { alert('Campo obrigatório.'); return false; } EventoService.s...
asked by 15.02.2017 / 16:11