Questions tagged as 'angularjs'

0
answers

How to display the PHP error message in JavaScript?

The problem is that to get the php data, if there is an error in php it shows an error like this: What I want is to know how to show that error in the browser console. I have this snippet of code in javascript using angularjs var app...
asked by 12.10.2018 / 04:51
1
answer

Link a different component per dynamically generated element

I have been trying for a long time to make a ng repeat that for each repeated element insert a component, I was inspecting with track by $ index, but I do not succeed. my code is this: html <div class="benefit" ng-repeat='benefit in $ctr...
asked by 12.10.2018 / 07:08
1
answer

How to filter using a person's age in angularjs?

I tried to do with this, but it did not work: <!DOCTYPE html> <html ng-app="universidadApp"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Filtros - ng-rep...
asked by 12.10.2018 / 05:17
1
answer

Declare global variable $ scope in angularjs, next to function?

I want to declare the global variable $scope , but I'm using a function call WineCtr() , but when I try to declare the $scope , ['$scope', function($scope){} in this way, I can not detect the code. <script src="https://c...
asked by 11.10.2018 / 21:11
0
answers

difference of two dates with a conditional in angular used moments.js

Hello a question can you combine this with a conditional of a field that is captured from a form, for example that counts the days depending on the two dates to know if more than 30 days have passed? can the conditional be any field or a bool...
asked by 09.10.2018 / 06:23
0
answers

How to select an element of an object in AngulaJS?

I'm creating a navigation bar and I'm looking for an icon that, in addition to changing the page, changes the icon of gray scales to color. And deactivating the previous menu doing the opposite. <!DOCTYPE html> <html> &...
asked by 10.10.2018 / 01:28
0
answers

AngularJS - save radion buttons information

I have a table that runs through a JSON with questions <tr ng-repeat="pregunta in preguntas" ng-if="pregunta.tipo.id === 3" class="table-pointer" > <td>{{pregunta.pregunta.nombre}} ({{pregunta.pregunta.porcentaje}}%)</td>...
asked by 05.10.2018 / 16:38
0
answers

Error with datatable and ng-repeat-start and ng-repeat-end

In the system that I am developing I have a table where I use the ng-repeat-star / ng-repeat-end function of angularjs, the objective is that when giving click on a row of the table to show information that is hidden (additional rows are cre...
asked by 04.10.2018 / 17:41
0
answers

Download to memory from Firebase

How can it be downloaded to memory (in a FILE type variable) using a file in Firebase Storage? more specifically; I need to create a thumbnail of an image that is already saved, that thumbnail is loaded in the storage in the same way as the orig...
asked by 05.10.2018 / 08:57
0
answers

TextArea in Angular JS does not work in Internet Explorer 11

I have the following problem in my angular code js, where the texarea has a required attribute and no matter what you enter, the validation will never happen. It is important to mention that this only happens with Internet Explorer 11 <...
asked by 27.09.2018 / 22:16