Questions tagged as 'angularjs'

1
answer

Put $ scope data as input value to save it in database

I have a problem trying to pull a $ scope data and insert it as value in input. This value is determined from a select that is part of my form code. The select that determines is "Resource" and I put condition that if it is "Municipal" I pull...
asked by 20.02.2017 / 17:54
3
answers

switch out of cycle for in angularjs

I have an arrangement in which each item has a status, for what I do is look for the GENERATED or PENDING states and depending on each search a number is assigned to the variable value and then used in a switch and depending on that value do cer...
asked by 07.02.2017 / 05:07
1
answer

ng-repeat to duplicate tds

link Hello, I'm trying to build a table, but specifically I have a problem with a row, in which I need this piece: <td ><i class='glyphicon glyphicon-book' tile='Permiso de Lectura'>primero</i></td> <td &g...
asked by 13.02.2017 / 02:06
1
answer

Searcher in table javascript does not find with AngularJS

I have a table in my template that has a search engine, when I put the td manually let's say it works without problems but using Angular to show the data in the table does not find results. <div ng-controller="usersController">...
asked by 03.01.2017 / 21:18
2
answers

Is it possible to use an html for two different urls in Angularjs?

I want to use the same html for two different routes, but hiding certain elements for one or the other. Is it possible? For example I have: share: { url: '/administration/share_view', templateUrl: 'administration/copy/share_view.html',...
asked by 19.12.2016 / 13:48
2
answers

Assign default value to a select that is filled with ng-options

The problem is the following:   I have several selections the first two of region and provinces are filled only, but that of cities depends on the province selected and the one of polygon is shown only when the city of valdivia is selected, but...
asked by 25.11.2016 / 06:22
1
answer

Document ready angular

I have the following problem: app.controller('EOGController', ['$scope', function($scope) { $scope.result = "primero"; angular.element(document).ready(function () { loadQuantiles(); }); var loadQuantiles = function ()...
asked by 23.11.2016 / 15:14
1
answer

Inquiry about angular promises

Good, my doubt is this, I am trying to get the data from a api that is in url , I use $http.get , I assign it to $scope.ips and it shows me the data in console.log() respective, now the problem is that...
asked by 23.11.2016 / 02:56
1
answer

Periodical events with Moment.js and Angular.js

Greetings I am making an application in which I have to manage a calendar with events that repeat themselves, but I am having problems when generating the events that repeat on the 31st of each month, since there are months that do not have 3...
asked by 29.11.2016 / 10:33
1
answer

checkbox in angularjs

Hello everyone, I happen to have the following switch: <div> <input class="cheqb" type="checkbox" ng-model="checkstate" ng-change="verificarCheckbox()"> <span>Acepto las condiciones establecidas en las <a href="#" targ...
asked by 05.01.2017 / 19:29