Questions tagged as 'angularjs'

1
answer

jQuery File Upload - angularjs

I moved a site from one server to another. I'm using this file upload tool: here . Now on the new server, selecting more than one file can not upload the image, ie it is not even loaded in the window. Is any php module missing from the new serv...
asked by 15.09.2014 / 16:13
2
answers

Adding values with AngularJS

I'm trying to do a simple college job but I'm stuck on one thing, I have a list of objects with properties: $scope.items = [ {title: 'Chuveiro Elétrico', quantidade: 4, potencia: 3500}, {title: 'Ferro Elétrico', quantidade: 1, potencia: 10...
asked by 15.09.2014 / 19:47
1
answer

Block pages with login in AngularJS with asynchronous call

In an application made with AngularJS, some pages are protected by login. I configured the module as follows: var app = angular.module('App', ['ngRoute', 'ngTouch', 'mobile-angular-ui']); app.config(['$routeProvider','$locationProvider', f...
asked by 30.10.2014 / 17:52
1
answer

AngularStrap date-template

Problem I'm implementing StrapAngular in my application, however I can not use the contentTamplate to insert a form into my modal aside. I tried as follows mainCtrl $scope.aside = { "title": "Novo agendamento",...
asked by 04.08.2014 / 19:59
2
answers

Is it possible to change route system ($ route) in the same URL? Angular JS

I'm wanting, from a constant (configuration) change of controller or directive that is in the same URL. For example, imagine that I'm on the home page and then we have the path "/" ok. However, depending on the configuration the face can ch...
asked by 11.08.2014 / 23:30
1
answer

How do I create a custom formatting in a string with angularjs?

Well I have a date 19102015, if I do so {{step.data | date:'dd/MM/yyyy'}} I can format the date and get 10/19/2015. But in my case I need something customized. I have a cnpj that comes like this: 00000000000000 and I need to format it l...
asked by 03.02.2015 / 19:26
1
answer

AngularJs - Problems with accentuation

I'm getting strings in servlet with accent problems. Like for example: Send $scope.nome = "Pé" to servlet . In servlet line: String nome = request.getParameter("nome"); does not receive Pé and yes PÃc...
asked by 22.07.2016 / 18:57
1
answer

Dynamic Filter ng-repeat

I need to insert a dynamic filter, which comes from a select, into my ng-repeat select ng-model="campoBusca" input type="text" ng-model="busca" ng-repeat="funcionario in funcionarios | filter: { campoBusca: busca}" But is not it right, s...
asked by 10.06.2014 / 21:42
0
answers

Get the key "description of a typeahead angularjs

I have a form where I search with the name or code of municipalities all over Brazil. After doing this query, I only display in the input the code of this search. I need to get the "description" generated in this input, to load it into anothe...
asked by 28.11.2018 / 14:40
1
answer

AngularJS image upload with Java server

I'm having a problem uploading a web image, I'm using the angular file upload , when I upload it it writes the image to the Frame - > images of the browser, and when I read the inputStream there on my server it does not return the i...
asked by 29.01.2014 / 13:21