Questions tagged as 'angularjs'

2
answers

How to add buttons for each record, with angular-datatablejs?

I have the following table that filled it this way <div class="panel-body"> <script type="text/javascript"> jQuery(document).ready(function($) { $("#example-1").DataTable({ "ajax": {...
asked by 06.03.2017 / 07:27
1
answer

AngularJS radio button, ng-model does not update and ng-change does not work with ng-repeat

I have an array with people's objects and the name and menu attributes for a dinner. I want to paint them in the HTML with ng-repeat and each member will have a set of radio buttons so that, if they want to change the menu, I collect th...
asked by 11.04.2017 / 12:55
4
answers

Animate an image when the scroll goes down

I'm working on Angular.js with 2 libraries, first the angular-smoothscroll and the animated.css. How can I mix these two? I want the image to be animated when I scroll down. The animations are already defined: they are css classes, and I o...
asked by 29.12.2016 / 22:43
1
answer

How to pass a variable type counter to a javascript variable to create a graph

I have a problem with my html code using angular js, the fact is that I want to pass a variable called "count" that belongs to the note that a student took in an online test, which accumulates as the Student is having the correct answers. The pr...
asked by 01.04.2017 / 01:40
1
answer

Create url from an array in angularjs

I have the following array: $scope.arreglo = [ {"clave_acceso":"122"}, {"clave_acceso":"222"}, {"clave_acceso":"333"} ]; and from the desire to create a url which should be like the following: If the fix has a data:...
asked by 31.01.2017 / 15:50
1
answer

Problems iterating (angular.forEach) in a JSON subarray

I'm trying to access a sub-fix JSON from Angular , but apparently it does not find the nodes of the array. Code: var app = angular.module('feedReddit', []) app.controller('FdRditCtrl', function ($scope, $http) { $scope.posts =...
asked by 31.01.2017 / 15:31
1
answer

show by text in which city I am angular js

I'm doing an app on ionic where I want to show the user where the city is. With this code I locate it but I need to show you something for example:    You are in Barranquilla / Cartagena or something like that Driver: .controller('Ctr...
asked by 25.09.2016 / 22:22
1
answer

I can not launch an "existing mail" alert

I have taken back the code that another developer left unfinished and I have some problems when I want to register a new user. In the validation of the existing mail, I can not overwrite the previous record, but I can not launch an "existing...
asked by 22.09.2016 / 06:18
1
answer

Counter with angular

Greetings. I have an array $scope.mesas = [{ "mesa": "mesa1", "integrantes": [{ "nombre": "Susana Sofia Urrea Sotelo", "mesa": "1", "entradas": "1", "usadas": "0,", "done" : false, }, {...
asked by 24.09.2016 / 15:41
1
answer

Blank global array after two ajax calls

When doing a global variable and after doing push after two queries per ajax is left blank Can you tell me if it failed in something? var productoT = []; angular.module('starter', ['ionic', 'ionic.contrib.ui.tinderCards2', 'ionicLazyLoad']) ....
asked by 18.10.2016 / 19:09