Questions tagged as 'angularjs'

0
answers

TypeError: "agentsService is undefined; can not access its "getAgents" property "

I am new at AngularJS I have a doubt I am bringing a JSON file in my service and I am consuming it in the controller when I run it in Chrome everything is perfect, but I pass it to Edge or firefox and I have the following error message " Unable...
asked by 08.12.2018 / 00:39
1
answer

How can I print directly (without a dialog box) on a website with angularJS to a Zebra bluetooth printer! MZ320

The issue is that I am creating a website and I need to print a ticket (as they are in the bank to wait) and for this I need it to be direct from the print button of my web app to print to the printer. I've searched everywhere and I can not find...
asked by 06.12.2018 / 18:00
0
answers

Enter script src="https / script to Angularjs

I have the problem of wanting to enter: <script src="https://www.gstatic.com/firebasejs/5.5.2/firebase.js"></script> but in an angularjs controller, but I do not know if it is possible.     
asked by 04.12.2018 / 20:51
1
answer

ng-repeat multiple $ index

I have the following code: var personas = { { persona1: { hijos: [1,2,3]}}, { persona2: { hijos: [2,2,3]}}, { persona1: { hijos: [1,2,3]}} } <div> <div ng-repeat="(key, hijos) in personas...
asked by 03.12.2018 / 11:38
1
answer

Angular + Nodejs error CORS

employees-create.component.ts import { Component, OnInit } from '@angular/core'; import { Empleado } from '../modelo-de-datos/empleados'; import { NgForm } from '@angular/forms'; import { EmpleadoServiceService } from '../servicios/empleado-...
asked by 30.11.2018 / 15:13
0
answers

Angular & Firebase - How to obtain a particular record in AngularFireDatabase?

I'm doing an app with Angular + Firebase, and I'm stuck on how to get a record and how to look for it by a certain attribute . When registering a loan with N installments, when registering it, I need to register the N installments with the resp...
asked by 30.11.2018 / 15:02
0
answers

bind policy attribute by a function

The case is this, I'm using this policy AngularJS which is actually a bootstrap plugin made directive. The directive in question accepts an attribute options that is two-way binding and is within a ng-repeat , something like this:...
asked by 06.12.2018 / 16:22
2
answers

How to apply a numeric quantity format to an input

I am trying to make a function that applies a certain numeric format to an input. Through an onblur a function that applies to an amount that can be written in the following way "145151,65" can be formatted as follows "145.151,65" Currently on t...
asked by 27.11.2018 / 16:39
0
answers

Upload image to Firebase with Angularjs and Nodejs

I have the problem of wanting to save an image in the firebase database, I only found on the internet code to save the name of the image and then show it locally, but in my case the page will be hosted on the internet. $scope.load = function(v...
asked by 20.11.2018 / 18:47
0
answers

IE9 does not redirect AngularJs

I have the following script to redirect to the page I want $location.$$urlUpdatedByLocation = true; $location.$$absUrl = location.origin+location.pathname+"busqTerceros.html"; In the file busqTerceros.html I have the following: <met...
asked by 20.11.2018 / 00:13