Posts by Dannicléo Teles • 60 points
9 posts
-
0
votes1
answer124
viewsA: Download corrupted with Nodejs
Solved, the problem was the way I was writing the file as below: $scope.downloadFileWeb = function() { var options = { method: 'POST', url: webServiceControl.serverAccessInfo.host + 'download',…
-
0
votes1
answer124
viewsQ: Download corrupted with Nodejs
I created a server with Expressjs where I upload and download various files: FileController.prototype.downloadFile = function(req, res) { var filePath = "./upload/" + req.body.pasta + '/' +…
-
0
votes0
answers68
viewsQ: Encrypt images and videos via Node.js
I am developing an application with nw.js and need to protect images and videos that will be distributed with it, there is some way to do this with Node.js?
-
0
votes0
answers677
viewsQ: Angular does not update screen
angular.module("manuais", []); angular.module("manuais").controller("manualCtrl", function($scope) { $scope.capitulo_itens = [{ cod: 1, cod_capitulo: 1, tipo: 1, texto: "Titulo de um elemento",…
-
1
votes1
answer543
viewsA: Twebbrowser does not load google map colors
I believe your problem is precisely the navigator. Twebbrowser emulates internet explorer 7 (if I’m not mistaken), you need to change the windows registry so that this emulation is according to what…
-
1
votes1
answer3920
viewsQ: 1 decimal formatted value in ngModel
I have the following object: dadosAnv = { horas_cel: 1950.0 } It turns out that when I edit this value, it appears in the input only 1950. I’d like to keep the .0 value, but I have no idea how to…
angularjsasked Dannicléo Teles 60 -
0
votes3
answers1572
viewsA: Create directive for mask
worked out good for me like this: angular.module("aeronaves").directive("uiDate", function() { return { require: "ngModel", link: function (scope, element, attrs, ctrl){ var _formatDate =…
angularjsanswered Dannicléo Teles 60 -
1
votes1
answer104
viewsQ: Show Description instead of angular value
Hello, I am learning Angularjs and in my exercises I came across the following question: How do I show a description instead of a code. For example $scope.aeronaves = [ cod_anv: '1', fabricante: '1'…
angularjsasked Dannicléo Teles 60 -
1
votes2
answers2356
viewsQ: Delphi: Error 80020101 when running javascript in Twebbrowser
I use the TWebbrowser in an application Delphi XE7, but I’m having trouble trying to execute commands javascript. (Oleexception ... Unable to complete operation Error: 80020101 ) This happens with…