Questions tagged as 'angularjs'

1
answer

How to filter with ng-repeat?

I have two <select> , ie a handmade multiselect picklist. In the first <select> , I want to show only the clients that are brought by ng-repeat but contain the consultaNotasDestinadas field as '1'. In...
asked by 10.02.2016 / 14:40
1
answer

AngularJS - What is the best practice when uploading images?

I've implemented this solution to upload the images: MaquinaResource.save($scope.maquina, function (data, responseHeaders) { var formDataImage = new FormData(); for(var i = 0 ; i < $scope.images.length; i++) { formDataImage.ap...
asked by 21.06.2016 / 15:36
1
answer

AngularJS Difference ng-show and ng-if

What's the difference between using ng-if and ng-show / ng-hide ?     
asked by 16.03.2015 / 21:55
1
answer

Capture image by url

I have the following url: link {{name}} .png Replacing the word nome with a specific name and navigating to the page in question shows an image.png. How can I capture this image using angularjs? Ex: link     
asked by 18.02.2016 / 19:29
1
answer

Error while uploading an AngularJS + Vraptor file

I have a system where I can upload files through an Angular library ( ng-file-upload ), but if the file is larger than 3MB when I try to upload, I have the following errors:    GRAVE: Servlet.service () for servlet [default] in context...
asked by 14.12.2015 / 12:02
1
answer

How to access a specific header from an http response?

I have a Rest API in Java, which makes use of JWT to authenticate users and generate tokens to access their resources. I have an application in AngularJS, which should consume these resources, but I must first request a token in the API. I would...
asked by 26.08.2017 / 14:01
3
answers

Ionic - Show side menu in all view except main page

Hi. I have a problem with Ionic's side menu. I need to display it on all but the first views. I tried to put all the views with the side menu, and hide the menu button on the main page, but when you put hide on the button, it disappears in al...
asked by 29.09.2016 / 15:35
1
answer

Translate datepicker Kendo UI with AngularJS

I need to translate the kendo date picker into Portuguese, I've already inserted the i18n file into my html but it did not work, I did the same in angle and ran angled My html <head> <script src="angular-locale_pt-br.js"></...
asked by 14.08.2014 / 14:29
1
answer

Dynamic menu using AngularJS

I have an application that has a menu at the top and another on the left side. The menu items should be filled with DB data according to the access profile. However, the menu is not being rendered when there is a change of route. Shell.js:...
asked by 29.10.2014 / 18:34
2
answers

Test results do not appear in browser - grunt-karma

I'm using grunt and karma to do my project tests. But when I use the grunt test command, the results do not appear in the browser or in the command line. The only thing that appears is the following: This is my karma.conf.js file: '//...
asked by 01.04.2014 / 16:17