Questions tagged as 'angularjs'

0
answers

How to display / hide, individually, div replicated in AngularJS, using jQuery?

[SIMULATION using JSFiddle at the end of the problem description] The following function performs the insertion of some elements using AngularJS: $scope.addItem = function (user){ $scope.items.push({ nome: $("input[name='nome']")....
asked by 03.01.2017 / 01:31
0
answers

Angular form with laravel

I have two tables: Invitations and Process. A process can have an invitation, just as an invitation belongs to a process. In this way I made the relationship in the database where the Invitation table has the process_id field referencing w...
asked by 24.01.2017 / 15:40
0
answers

Controller does not execute when I return to the same state

Hello, I have a problem with angular and ionic 1 I have a restaurant market place app, similar to ifood, I have an order flow and as the steps go by I save the order data in a place on the siteStorage, at the end of the flow (shopping cart) I ge...
asked by 08.12.2016 / 17:00
1
answer

search function in a list angularjs

Hi, I have a function that searches a list for the occurrence of any string typed in the field that is passed as its parameter, it works fine for fetching these strings: $scope.$watch('q', function(newValue, oldValue) { if (oldValue != n...
asked by 23.11.2016 / 17:07
0
answers

Error loading header files with AngularJS

When implementing a code using routes, the header files are not loading, giving the following message to everyone. link Failed to load resource: the server responded with a status of 404 (Not Found) Follow the code below. // main.js...
asked by 07.12.2016 / 12:55
2
answers

Restful Angular

I am developing a system with angular, java and restful jersey. However, I can not display the rest data in the view using the angle. The most I can do is generate multiple objects for each letter that contains in the rest XML and not the return...
asked by 02.12.2016 / 19:29
1
answer

Return value of the current row of a tree of the directive tree-grid-directive

I'm using the tree-grid-directive ( link ) in an angularJS application and would like to know how to return the object that represents the current row in the tree. For example, I have the following definition of columns: $scope.col_defs = [...
asked by 02.12.2016 / 17:43
1
answer

How to get the Promise in Service and only send the data loaded to the control?

I have a json file with the following sample structure: {"status":"ok","count":2,"count_total":54,"pages":27,"posts":[{"id":894,"type":"post","slug":"titulo-1","url":"url-titulo-1.html","status":"publish","title":"Tu00edtulo 1","content":"<...
asked by 18.11.2016 / 13:50
1
answer

AngularJS and C # - model brings no value if not changed

I have a form where some fields are numeric (decimal format with 2 houses). I'm displaying formatted and masked, all correct. What happens is that when I edit one of the values, this edited value is passed to the C # ViewModel correctly. The...
asked by 10.12.2016 / 21:58
1
answer

Is there something similar to the php composer for Angularjs?

In Laravel we have this command to create all the file structures: composer create-project --prefer-dist laravel/laravel blog Is there something similar for Angularjs ? Is there a tool that automates creation? How is the f...
asked by 04.12.2016 / 21:38