Questions tagged as 'angularjs'

2
answers

Problems showing data from an array in a select in Angularjs

I have the following array in: var GruposSanguineos = [ { Nombre: '0 RH(+)', Valor: '0+' }, { Nombre: '0 RH(-)', Valor: '0-' }, { Nombre: 'A RH(+)', Valor: 'A+' }, { Nombre: 'A RH(-)', Valor: 'A-' }, { Nom...
asked by 24.08.2016 / 15:45
3
answers

$ http.post Angular POST

Trying to connect to an API from angular and I get the following error: XMLHttpRequest cannot load https://web/api/beta/ruc. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is the...
asked by 25.06.2016 / 23:27
3
answers

How to make a data query in HTML using javascritp or .json [closed]

Greetings I am working on an Html project with bootstrap in it I have to make some data queries by means of an ID. but as I have few data, I do not want to do a database and do some research, but I only find filtering tables, but the issue is th...
asked by 02.06.2017 / 15:30
2
answers

Difference between ion-item and div class="item" ionic

I would like to know what difference there is between using one versus the other, because you see it in the style documentation ( css ), and the other one in < strong> javascript . What advantages one has over the other when creating the...
asked by 26.02.2016 / 17:02
2
answers

Show Item if True in Array Json

How do I show the content of a person if at least some of the items within the array has the status denied , this is my código . index.html <!doctype html> <html lang="en"> <head> <meta chars...
asked by 26.02.2018 / 20:34
1
answer

Control of schedules with moment js

In my timetable control code, I check if the current time is within the range of opening time and closing time. This is my code: var ha = moment("00:00:00", 'H:mm:ss'); var hc = moment("23:59:00", 'H:mm:ss'); var hactual = moment("00:00:00...
asked by 07.08.2018 / 06:31
1
answer

How to use a controller function in another ANGUALRJS controller

I am doing a REST where I try to call in a function, a function of another controller, but with $parent I do not show the function in the console nor with $scope , the function that I try to call is this $scope.getInsuranc...
asked by 19.12.2017 / 21:06
1
answer

Post Order (back and forth to BackEnd) from angularjs

I am trying to insert sections in a Database, to the whole insert I use with C # in controllers (My project is a WebApi). What I want is for you to make an insert in each cycle of the for. But the controller goes only once, and that's when the w...
asked by 25.08.2017 / 22:49
2
answers

Filtar object angularjs

I have: var members = [ { username: 'SheoNarayan', address: 'Hyderabad', pin : '500049' }, { username: 'Munna', address: 'Bokaro', pin: '8256598' }, { username: 'Jay', address: 'Aurangabad', pin: '824101' }, { u...
asked by 09.08.2017 / 11:50
3
answers

Is it possible to change the value of a ng-model using a filter?

I am making a array , but I want to change the value shown in the view according to some evaluations. would be showing the values like this. <div ng-repeat="valor in bonos"> <label>{{valor.nombre |filtro: myfuncion}}</...
asked by 16.06.2017 / 23:17