Questions tagged as 'angularjs'

2
answers

How to "data-bind" two variables in the same select?

I have this code that is doing to me vm.service.type = serviceType.name: <div class="form-group "> <label for="field_type"><b>Type</b></label> <div class="input-icon right"> &l...
asked by 09.11.2016 / 11:27
1
answer

AngularJs - Filter ng-repeat checkbox

Keeping in mind that I have a ng-repeat, how do I get only the items I marked in the checkbox?     
asked by 08.11.2016 / 21:05
1
answer

Error injecting $ state into the controller

I'm having a problem injecting $state into my controller . angular.module('myApp', ['ngMaterial']) .controller('LoginController', function($scope, $rootScope,$state){ $scope.userlogin = ""; $scope.userkey = ""; $scope...
asked by 23.10.2016 / 05:45
1
answer

Exception when sending Multipart file from controller AngularJS on server Spring Boot

I'm having trouble sending client side files (images, pdfs) to the server side of my app. Whenever I try to send a file, Spring gives me this exception: status:"Bad Request" exception:"org.springframework.web.multipart.support.MissingServle...
asked by 12.10.2016 / 20:17
1
answer

Scrollbar in ng-view does not work

Galera, the following problem occurs with me: I'm doing a web application and I'm using Angular.js as a framework. I have a div with ng-view and every time I load a page that needs the scroll it does not appear and the page is halved. But I give...
asked by 13.10.2016 / 15:03
0
answers

Websocket angular and php

Hello, I have a websocket in php and a factory in angular. I need to know, when there is, or not, connection with websocket, in the code part send, socket.send (JSON.stringify (data)); of this factory .factory('socket', [function ($rootScope)...
asked by 05.10.2016 / 15:45
1
answer

Record in the bank only checked chekbox in the angle

How do I record only checkboxes that are checked. See, I have this example and when I record it is recording the 22 items. <li> <label class="requerido">Profissoes</label> <ul> <li ng-repeat="...
asked by 22.09.2016 / 21:35
2
answers

AngularJS HTTP 415

I'm having trouble making a GET request, getting error 415 (Unsupported Media Type). Although he has already set the headers he does not seem to respect them. Does anyone have any suggestions on what to do to solve the problem? Remembering...
asked by 16.10.2016 / 16:22
1
answer

How to mount this ng-repeat?

I decided to organize the data into tabs. But I'm not able to do it using angularjs ng-repeat. I have the following json object for testing: var obj = { URL_IMAGEM:"img/user.png", CLIENTE:"BRUNO SILVA", QTD_PEDIDOS:1, PRIMEIRO_...
asked by 15.10.2016 / 02:47
1
answer

document.ready using non-angular paths

I'm trying to run the .parallax () function of the Materialize framework using angular paths. I configured the document.ready layer for each template because I found that with each template call per route the script was reloaded, however I was w...
asked by 25.09.2016 / 16:18