Questions tagged as 'angularjs'

1
answer

AngularJS: Smart Table global search does not work with this data

I have the following problem that I apply Smart Table of angular. I get the records in this way $http.get('../ws/usuarios').success(function(datas) { $scope.rowCollection = datas.records; console.log($scope.rowCollection);...
asked by 12.03.2017 / 07:24
1
answer

Compare 2 objects

In my app.js var variable = {tipo: 2, variables: [20, 35, 50] }; $scope.test = variable; $scope.test2 = angular.copy(variable); In my index.html <input type="number" ng-model="test.tipo" /> <input type="number" ng-model="test2.ti...
asked by 21.03.2017 / 13:36
2
answers

How to use ng-click in this way?

It's probably wrong to do it this way, but only then did I find datatable functionality. <div class="panel-body"> <script type="text/javascript"> jQuery(document).ready(function($) { $("#example-1")....
asked by 10.03.2017 / 02:58
1
answer

Configure local server for angularjs

As a developer I have always uploaded my projects to a cloud server, in which you just follow the steps they give you to upload it, these are already adequate. But now I have to upload it to a local server located in the company, the project is...
asked by 23.02.2017 / 16:31
1
answer

Recognize enter to send and not write new line

How can the enter key be recognized with an angle to send the message in a textArea and not write a new line? My problem is that when I press enter in the chat I did, first a new line is written and it passes a few thousand seconds and the me...
asked by 12.06.2017 / 06:07
1
answer

How to use html in this way that filled the table, AngularJS?

In this way I show the records in the table, I use angular-datatable.js. Example of how the information shows the table: 'ID' 'USER' 'NAME' EMAIL '' TELEPHONE '' STATE '' CREATED '' ACTIONS ' '1' 'admin' 'Administrator' '[email protected]...
asked by 20.03.2017 / 02:38
3
answers

Build json with several arrays

I have an api that receives this json: { "instructions":[ { "A":9, "B":1, "move":"moveover" }, { "A":8, "B":1, "move":"moveover" }...
asked by 16.02.2017 / 23:25
2
answers

Select2.js does not select default value in DropDown

Good morning, I'm going to use select2.full.js and select2.css is an angle module. The problem is that when the dropdown is displayed, the default value selected in the option does not appear. But if it appears when I click on the DropDo...
asked by 06.02.2017 / 10:38
1
answer

ng-checked does not work

I have the following: $scope.query = {}; $scope.schemas = [{field:'test1'},{field:'test2'},{field:'test3'}] <div ng-repeat="(indexX,schema) in schemas"> <input type="radio" ng-model="query[indexX].test" value="{{schema.field}}"/&g...
asked by 09.02.2017 / 10:02
2
answers

percentages in angularjs

Hello friends I have a small impasse, it turns out that I need to show some percentages on my website and these come with your decimal:    50.893921334923   49.106078665077 I just need to show the whole value for that I separate them by...
asked by 09.01.2017 / 16:42