Questions tagged as 'angularjs'

2
answers

Generate JSON array object from a list type Object

I am first generating a dynamic object with: dynamic objetoTabla = new ExpandoObject(); , which I add the properties dynamically according to the data I generate with LINQ , until then everything is fine, then that created object I store...
asked by 10.11.2016 / 05:20
2
answers

Get localStorage of client in node js

What happens is that I'm doing an application with Node js, Angular and jQuery, and with sockets, what I need is to know if the user left the application, I issued a socket which removes me from the list of connected users, the user who left, I...
asked by 29.09.2016 / 06:11
1
answer

Send data from an angular textarea

I have a controller in angular which is responsible by means of a textarea load a content url if it is, if it is not a url does not load any data, the problem is that when wanting to write only text I send indefinite data. functi...
asked by 05.05.2016 / 20:31
2
answers

List html in a textarea

I know that to list in html code is: <ol> <li>Este será el 1. </li> <li> Este será el 2. Y así sucesivamente. </li> </ol> The fact is that I need it in a textarea or in some way. I need to make the us...
asked by 13.07.2017 / 09:35
3
answers

Browse Json array in Angularjs

I would like to know how to obtain the parallels of each subject in angular js. So far I can get the name but not its parallel Could You Help Me? I have the following JSON: [ { "num": "125", "nom_coe": "Matematicas", "variacion"...
asked by 26.02.2016 / 00:20
1
answer

Validate a JSON and print it formatted

Suppose I copy a string in a textarea, for example: var str = "{ hello: 'world', places: ['Africa', 'America', 'Asia', 'Australia'] }"; So with JSON.parse(str) I parsed the string in JSON format, but I would like to show the result i...
asked by 24.01.2018 / 12:58
1
answer

How to make use of the $ filter AngularJs

How can I capture in $scope.personConOferta the person who has oferta <!DOCTYPE html> <html> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script> <body&g...
asked by 10.04.2018 / 21:26
1
answer

Angular ng-repeat and ng-if paint lines

Good morning community, how can I paint a certain line of a color, such as to highlight, according to the value of a field, dato1 dato2 dato3 xx xx 0 xx xx 0 xx xx 1 --> resaltar todo la fila o cambiar de color xx xx...
asked by 25.01.2018 / 15:16
2
answers

Angular - Difference between Observable and Promise

I understand that an Observable is a promise but with filters to be able to make asynchronous calls without having to make many requests. I think I understand the concept but I do not have it clear in practice. In addition to a word search...
asked by 01.06.2017 / 06:23
3
answers

Decimals in angular

I have the following: <td>{{results | number:2}}</td> => esto sale en la vista 120.00 <td> <input type="number" ng-model="results" step="any"/> => esto sale en la vista 120 <input type="number"...
asked by 31.03.2017 / 09:40