Questions tagged as 'angularjs'

1
answer

How to detect the selected dataset in a charts

I'm using the following code to detect the dataset, but INDEX is wrong, where the value would be the index of the charts and not the dataset. I need to retrieve the dataset label corresponding to what I clicked on the charts. function G...
asked by 22.03.2017 / 21:18
1
answer

ngRoute not working correctly

I'm trying to create routes with AngularJS to make a Single Application. I can load the main page that would be / , but others that contain parameters can not. I have the URL link and I need to load the view views/routes/visual...
asked by 14.01.2017 / 00:46
1
answer

Load pages from the database

How do I load pages from the database, so that the AngularJS policies work? Currently, I'm loading pages with jQuery. The page loads perfectly. It turns out that when this occurs, the startup cycle of AngularJS has already been terminated and...
asked by 16.01.2017 / 00:28
0
answers

Post api github

Hello, I'm having trouble getting a post to github's api, I get this error in mozilla: Blocked cross-origin request: Same Origin Policy prevents the remote resource from being read at link . (Reason: 'access-control-allow-origin' symbol m...
asked by 14.01.2017 / 21:09
0
answers

Encrypt JS / PHP GET parameter

What is the best way to traffic data between JS and PHP Fri GET method? Imagine a $ http request made in angularjs passing paramentos ex: minhaurl? Id = 2 & nome="joao" The ideal would be to encrypt the parameters. But BASE64 is flawed o...
asked by 29.01.2017 / 03:16
1
answer

$ resource problems Angularjs

I'm having a problem using $ resource from angularjs. The data coming from the API is only displayed in the service but when I call in the controler the list comes empty. //service angular.module('core.rota'). factory('Rota', function ($re...
asked by 30.01.2017 / 19:15
0
answers

CORS error XMLHttpRequest can not load [closed]

I have the following problem:    XMLHttpRequest can not load Whenever I send data from Angular to PHP . My PHP looks like this: header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Methods: GET,...
asked by 31.01.2017 / 17:19
1
answer

Jquery - SEM number rounding

How can I leave the result of an account with the entire result, no rounding , that is every time jQuery runs the script it returns a value and each browser rounds it in its own way. I want a way to leave the whole value without rounding for...
asked by 01.02.2017 / 12:22
1
answer

Relate Nodejs modules with Services Angularjs - Electron

Hello, everyone! I am starting a study in electron and in this application I am using angularJS, the detail is that I do not understand much about, and I can not think of a way to use the Node without the server being running, I would finall...
asked by 10.02.2017 / 18:22
0
answers

Is there something equivalent to the php DOMdocument class for javascript or angularjs?

Location: Given the url, I would need all the classes used within the page. There is a method of class DomDocument that I would need to use ( ->loadHTMLFile($url) ). Is there anything equivalent to this class for javas...
asked by 02.12.2016 / 16:16