Questions tagged as 'angularjs'

1
answer

AngularJS share on Facebook

How to share an url or article on Facebook from a site routed with AngularJS? It happens that Facebook does not recognize the meta tags og: .... I have searched a lot but I can not find concrete answers. Any ideas? I tried the following: I...
asked by 19.05.2017 / 15:58
1
answer

configure routes and sub-routes using ui-router

I am migrating an application to angular, but I got a bit involved with the routes, especially with the sub-routes, which I have the following problems and doubts: Structure of my application The passage of the index to the loading i...
asked by 11.03.2016 / 00:44
2
answers

Go through JSON Object

I have this json: var json = { "0":{ "check":true, "OBJECT_ID":{ "check":false, "name":"OBJECT_ID", }, "nameTable":"TEST1", "EVENT_NAME_MANAGE":{ "check":false, "na...
asked by 27.04.2017 / 11:41
5
answers

Change style of an input type="file"

I want to know if it is possible to change the default style that appears when placing a <input type="file" /> on our page. Here I leave a screenshot. The previous image is a screenshot of my tablet, where I save the path o...
asked by 10.05.2016 / 18:55
3
answers

Slack files: XMLHttpRequest can not load response for preflight is invalid (redirect)

I am using angularjs@v1.3 to make a request to the api of slack . According to Slack files types I need to add the Authentication in the header. I make the request from postman and it returns the file I need. GET /...
asked by 14.03.2016 / 04:37
2
answers

Upload files with angularjs in nginx

I want to upload a file in angular using post multipart , on the server side I use nginx as a load balancer connected to several application servers and I do not know if doing this sends the different parts of the file to different app...
asked by 02.02.2016 / 16:34
1
answer

How can I know from and to where I'm browsing with ngRoute?

I have a template that is displayed temporarily, the problem with this is that it is displayed only if I click on a predefined link. What I want to do is that the temporary template is displayed when accessing the URL with id (/ news /...
asked by 04.09.2016 / 01:59
3
answers

Is it necessary to divide responsibilities of a controller in AngularJS?

I am creating an ABM with AngularJS, I have a controller usuario.controller.js that has the responsibility to create, delete and display the list of users. The problem is that every time I load the view create the controller is re-insta...
asked by 18.12.2015 / 02:25
3
answers

What is the difference between REST and RESTful?

I understand that they are architectures and that the idea of these is once downloaded the web page this does not re-download any HTML or CSS or JS if not, that only makes calls or requests and is answered with JSON     
asked by 13.01.2016 / 23:15
1
answer

real-time currency exchange from MXN to USD online store to show prices

I have an online store and the prices of each product are shown in dollars and one side will show an "approx" in Mexican pesos as what aliexpress does, or failing to know if to handle these currency changes depending of the language that is sele...
asked by 25.07.2016 / 08:21