Questions tagged as 'angularjs'

1
answer

APi $ HTTP For MySQL Database Requests

I've seen in classes and video lessons the staff using this $http when making requests with AngularJS, but they always pass a friendly url when making the connection and I do not know how they do it because type they do not pass neither u...
asked by 08.11.2016 / 22:08
1
answer

Footer Problems

I'm having problems with my rod on a page that contains a list, which I'm adding and growing. The problem is that you are creating two scrollbars on the site and I can not solve it. Here's the list and the css. .footer { background-color...
asked by 08.10.2016 / 00:22
1
answer

Required from html is not working

I am creating a website and I am using angular, and in the only existing input the required is not working, ie even clicking on the submit button is sending the empty data to the bank, what can it be? $scope.adicionaTopico = function (top...
asked by 08.10.2016 / 01:19
1
answer

Authorization via token with AngularJS

I saw that to set the 'Authorization' field of the header with Angular is used: $http.defaults.headers.common.Authorization = "Bearer " + token or $http.defaults.headers.common.Authorization = "Basic " + token What's the difference bet...
asked by 25.10.2016 / 15:38
1
answer

Test angular project compatibility across multiple browsers

I have a web application made with AngularJS v1.5.8 and I'm worried about compatibility issues, but I do not want to download several browsers and test out one by one in different versions. I want to know if there is a tool that automates this a...
asked by 27.10.2016 / 16:13
2
answers

How to format a very large string (arrange text)

I have an object with an attribute of type String that has very large text, and I need to organize this string so that the text is organized and more beautiful. I would like to know if there are any JS plugins that solve my problem or...
asked by 15.12.2016 / 19:35
1
answer

How to do a search in an app using AngularJS with parameter passing correctly?

How to do a search in an app using AngularJS with parameter passing correctly, when I speak correctly I mean to avoid SQL Injection. For example; the var parameters = "joao"; parameter in the query below. self.searchAll = function(na...
asked by 26.08.2016 / 20:18
1
answer

ng-bind-html removing style

I'm trying to pass a style into a span, but when I use ng-bing-html it removes In the json that is placed on the page up to this with style <script id="data" type="application/json" product-data> <p><span style=...
asked by 31.08.2016 / 19:01
1
answer

How do I put a while within an angular object?

I need all the rows listed in the while to be listed inside the object, however, only the last row of the array in the object is appearing to me. $scope.eventos=data; var contar = 0; while (contar...
asked by 31.08.2016 / 23:38
1
answer

How to properly add more than one ion-radio in a template?

I'm having trouble adding more than one ion-radio to a template. I have a screen with an ion-radio that is working accordingly. But I need to add a few more and I'm having trouble.   When I dial the first radio option marking, it works accor...
asked by 01.09.2016 / 15:02