Questions tagged as 'angularjs'

1
answer

Models and Services Angular 4 [closed]

My inconvenience is the following I am creating a system in which I have to consume a service through POSTMAN and create my services without problem my question is TO CONSUME OR CREATE A SERVICE IT IS NECESSARY TO CREATE A MODEL?     
asked by 13.11.2017 / 22:02
1
answer

Delete Space in select Angularjs

Good day I have the following problem, when I consume my service REST from the angle he brings me the 3 types of documents, but when painting them on the front, he shows me at the beginning a space. This is my html: <label for="documento...
asked by 26.07.2017 / 21:53
1
answer

send data http angularjs error [duplicated]

someone could guide me I'm sending data from a service to an api I'm doing it with slim and angularjs but somehow the api does not take the values I sent and probe the api with postman and it works then I imagine it is in the way in which I...
asked by 22.09.2017 / 19:57
1
answer

Deselect a button (it is not a checkbox) [closed]

I would be very grateful if anyone could help me with this since I am still new to this: Within a section of the page, where there are 5 buttons (come from a json), let me select several of those buttons, either one or all, have a style for acti...
asked by 28.03.2017 / 19:45
1
answer

Help with AngularJS bs-datepicker

I would like to know if you can modify the ds-datepicker directive of AngularJS to show only the months and years     
asked by 17.12.2015 / 17:40
2
answers

Why does not this angular code work? [closed]

Why does not this angular code work? What am I missing? <!DOCTYPE html> <html lang="en" ng-app> <head> <meta charset="UTF-8"> <title>Ej de AngularJS</title> </head> <body>...
asked by 03.01.2017 / 17:18
1
answer

Bind a Component variable to the styles directive in Angular

I'm working on Angular 4 but I'm stuck. Let's say I have a CSS class called cover-art : .cover-art { width: 300px; height: 300px; background-color: rojo; } And then I want to update that class through entries in the HTML template. I...
asked by 03.05.2017 / 07:27
3
answers

Get the list that is contained between two Data

I have a Collection of n Number of Objects, in which a field is Boolean, as I could get all the objects that are between two objects that have the field in true: EJ: $scope.lista = [ {d1:false, d2:Hola0}, {d1:false, d2:Hola1}, {d1:...
asked by 10.03.2018 / 07:56
1
answer

call a javascript function in php (to then make a query in the php)

   Top: previous consultation of the data <?php function conexion(){ $conn = null; $host = 'localhost'; $db = 'mi_base_datos'; $user = 'usuario'; $pwd = ''; try{ $conn = new PDO('mysql:host='.$host.'; dbnam...
asked by 06.07.2017 / 18:28
1
answer

How to pass data between forms in angular?

Does anyone know how I can share data between form in angular? It happens that I have a table and when clicking on an id you must show me the detail of that id on another page, I am using this service to store the id but when redirecting me to t...
asked by 28.11.2017 / 23:00