Questions tagged as 'angularjs'

1
answer

Retrieve angular value POST

How do I retrieve the value in the php file when I use this angularjs post method? $http({ method : 'POST', url : 'xxxxxxx.com/consulta.php', data : JSON.stringify($scope.new...
asked by 17.02.2016 / 03:08
2
answers

How to execute a function after AngularJS perform all get / post requests?

I need to call a function after all get / post requests are complete. Note: I can not call this function multiple times! angular .module('app.services') .config(InterceptorConfig) .service('InterceptorService',...
asked by 18.02.2016 / 18:07
1
answer

Check Connection with the API in real time AngularJS

I know you can check for an internet connection, but you could check if my application is connected to the API where both are on the local network. For example, if a problem occurs on the network and the application can not communicate with t...
asked by 16.11.2015 / 17:58
2
answers

How to get value from a form with AngularJS?

I'm starting with AngularJS and there's a question that seems to me to be simple. I'm doing a shopping cart (just for the same apprenticeship) with what I learned (ng-controller, ng-repeat, ng-model, etc.). I have a list that comes from th...
asked by 23.10.2015 / 16:17
1
answer

Rendering Delay with Angular + jQuery

Some jQuery functions or Angular directives are not loaded or rendered while loading the page. At various points in APP I had to apply the timeout to run everything normally. I'm currently loading the angle like this, and right below I loa...
asked by 07.10.2015 / 22:57
1
answer

Laravel / Angular Routes $ routeProvider

I have something like this in the app.js of my application: app.config( function( $routeProvider ) { $routeProvider.when('evento/:id/:caminho', { templateUrl: 'views/evento.html', controller: 'PrincipalEventoController'...
asked by 10.10.2015 / 14:21
3
answers

Resgastar id of the news that I am clicking?

I have a mobile app with a zone where you can set up various news through ng-repeat . Now I have a taste system of every news item where you have a button to make the news tick. What happens now is that I have to get the id of th...
asked by 12.10.2015 / 23:44
1
answer

Use window.location.href with variable AngularJs

Hello, I'm new to angularjs, thank you for all the help if you can. I have a doubt: I have a collection of items that are loaded on the main page everything is ok, but one of the items is a url and I would like it when loaded to allow access to...
asked by 03.10.2015 / 22:19
1
answer

Why does not the form validate the fields?

I am doing a validation of the registration screen so that it is reusable for the registration change screen, when registration is working correctly, however when it is the change it does not take /** * Funcao para verificar se é para...
asked by 05.11.2015 / 20:28
1
answer

Uploading and Retrieving an Image with Angular

Let's say I have a user registration form where I want to save a photo of it. I send this data by POST to the server (Java) where I make the inclusion in the database. What better way (practice) to send this photo along with the other...
asked by 25.09.2015 / 20:12