Questions tagged as 'angularjs'

1
answer

Render html from the database using angular 1.6.1

I have the following page using angular , jquery and bootstrap : var app = angular.module('tblModule', []); app.controller('tblController', function($scope) { $scope.testes = [ { "teste": 1, "oi":...
asked by 04.02.2017 / 09:38
2
answers

Error "Content-Type is not allowed by Access-Control-Allow-Headers in preflight response"

I'm doing my api, in php, and I get the following warning    XMLHttpRequest can not load link . Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response. Here is the beginning of my php code:...
asked by 08.05.2017 / 21:25
2
answers

How to save the user's login by using Java + AngularJS

I was doing a search on how to save the user session after it has been logged in the system, I found several examples with cookies, however I am using java + angularjs, and in the examples I found it used the method ofPost of jsp, where it recei...
asked by 23.01.2017 / 16:24
1
answer

Angular FilterJS with Array of Arguments

I would like to check a way to add filters to a records table (ng-repeat) through an array and not just a text. link Note: I'm using $ filter to filter data in ng-repeat and not filters like uppercase for example. The followin...
asked by 05.11.2016 / 00:59
1
answer

AngularJS - modal inserts template with radiobutton options

I have a button that opens a modal, where words separated by commas will be typed which will become the radiobutton options on the main page. When saving the modal you must insert an HTML template with this embedded data. Follows plunker  ...
asked by 04.11.2016 / 11:47
2
answers

Why does not the data appear on the screen using firebase and angular?

Good afternoon guys, Something that should be simple and I can not. I am querying my database in firebase, where it has 2 records saved. I do the search and appear returns the data in the console, using console.log (), BUT, I can not display thi...
asked by 24.11.2016 / 18:23
4
answers

How to group an array of objects in javascript (Angular)

How to read an array of objects and return only objects that contain the same value in multiple attributes? I made this object array as an example. var arrayDeObjetos = [ {"dia":1 , "desc":"Nigth","mes":1}, {"dia":1 , "Descricao":"Brilha",...
asked by 22.11.2016 / 17:35
1
answer

Select with AngularJS

In an IONIC / CORDOVA app using anglarjs I encountered the following problem: The angle mounts the select leaving an empty option at startup. example: JSFIDDKE When selecting one of the options in the list, this empty option disappears....
asked by 23.11.2016 / 04:17
2
answers

Working with the file: // and Angular protocol

I wanted to know if it is possible to work with a Http: // request locally in my application and not on a local server, if at all possible how do I do this? (does not necessarily have to be with the file: // protocol). //Cleanup the popover wh...
asked by 12.04.2017 / 15:04
1
answer

Requesting APIs with Database for Angles

What APIs to do database requests (preferably mysql) that I have available to work with AngularJS, some that are simpler to use and that run on any server, I would use nodeJS more the servers to run it are more expensive and I can not afford it...
asked by 10.11.2016 / 04:45