Questions tagged as 'angularjs'

1
answer

Create menu from a JSON file using AngularJS

I have a JSON file with the following structure: "[{\"Menu\":\"General/Register/User\"}, {\"Menu\":\"App/MultiExport/Parameter\"}, {\"Menu\":\"App/MultiExport/CreateFile\"}, {\"Menu\":\"App/MultiCube/Create\"}]" How do I create a menu using...
asked by 17.11.2014 / 14:07
3
answers

how to paint a date expired with css

Ihaveatablethatshowsthematurities,howcanIleavethefontredorthebackgroundredifitisexpired?usingcssMytableismountedasfollows<tableid="myTable" class="uk-table sortable uk-table-hover uk-text-nowrap" cellspacing="0" cellpadding="1" border="0" wi...
asked by 28.06.2017 / 16:40
3
answers

Connection SQL server with angular 4 +

I would like to know how to make a connection to the SQL server database through Angular 4. I needed to know the procedures or an explanatory video. I'm an angular beginner.     
asked by 02.07.2018 / 21:11
2
answers

Problem in returning the answer via $ http.post ()

I'm trying to get only a value of HTTP return but I'm not getting it. .controller('myCtrl', function ($scope, $http) { $scope.sendPost = function() { var dataObj = { name : $scope.newName }; var res = $http.po...
asked by 16.02.2016 / 02:25
1
answer

Angular or Angular

I saw some questions here on the site related to this but it was more related to updating from one to the other and others were closed ... What are the main differences from one to the other? Even though it's an older version, can AngularJ...
asked by 20.06.2018 / 03:01
1
answer

How to pass an AngularJS value to the JAVA controller

I have a form that sends a value (CPF) of a page to be checked for existence in the database. I use an angular controller to send the cpf to service and then to the controller. Would you have any examples of how to do this? HTMLCode      ...
asked by 15.02.2017 / 01:48
1
answer

What are the reasons for migrating an application to a newer technology [closed]

I would like to know what you think about this? What are the benefits? Thank you.     
asked by 08.06.2017 / 00:06
2
answers

$ md dialog when loading page

I need to open modal $ md dialog when I load page, any suggestions? $scope.showAdvanced = function(ev) { $mdDialog.show({ controller: DialogController, templateUrl: 'dialog1.tmpl.html', parent: angular.element(document.bo...
asked by 21.11.2016 / 12:08
1
answer

Problems with Javascript

Hello, I'm programming my site in c9.io and I'm using a cont shown here at this link: How to add +1 in a countable variable to each click? But in the line of Js, $ is not defined, fix it, or add global $. When I shoot the $ does not work an...
asked by 15.10.2016 / 19:49
1
answer

Multidimensional javascript array with angular is undefined

I'm trying to create a multidimensional array but it returns me results [array.status] is undefined . I'm using angularjs : results = new Array (); var indice = 0; angular.forEach($scope.filteredDados, function(array, key){...
asked by 21.10.2016 / 18:23