Questions tagged as 'angularjs'

2
answers

Reading json file via AngularJs service

I'm trying to read a Json file via a service I created: Service: App.factory('service', function($http) { var promise; get: function() { if (!promise) { promise = $http.get('../library/data_json....
asked by 02.02.2016 / 14:19
1
answer

Communication between two Angular Controllers

I have an object that I would like to share with other Controllers , I thought in two ways, the first would be to use $rootScope and in the other to use a Service . I opted for the second way and created the following service:...
asked by 25.02.2016 / 19:21
1
answer

Integration AngularJS and Django forms to write data [closed]

How are you handling the integration frameworks in JavaScript with forms
asked by 01.10.2015 / 19:53
1
answer

Consume a RESTful service with angular js

I've done a project in eclipse with a service rest in java, if I run it directly in the browser my service it returns me my right data: http://localhost:8080/Agenda/rest/Agenda/getLista Now I want to consume and display in a table with ang...
asked by 27.09.2015 / 15:57
1
answer

Change style in ng-click and after a while return to normal with AngularJS

I have the following problem: I need a field to be shown in a solution with a "mask" as if it were hidden. When an event occurs or a click on a button (or on itself) such field is filled with a value and after a time it is shown again with its "...
asked by 28.07.2015 / 16:26
2
answers

How to login with php and session in ionic?

I'm making a mobile application with ionic and I need to login to external database users, I need to know how I can login through php and create a session with id of user ?     
asked by 05.08.2015 / 16:17
2
answers

Angularjs ng-options: Use object property as value instead of array index

In the code below, AngularJS ng-options renders the value but records the position in the array and not the value. I get the following json: [{"iduniforme":1, "nomeuniforme":"Uniforme 5 itens", "itensuniforme":[{...},{...},{...},...
asked by 18.06.2015 / 16:20
1
answer

How to put default value in an input type hidden in angularjs with ionic?

Good evening, I have a mobile app, I'm submitting a form with a input type hidden but I want this input to have the value passed from another controller but I'm not able to pass since I tried ng-init but it does not work Inp...
asked by 24.09.2015 / 21:49
1
answer

Paging table with AngularJs

I was trying to put a pagination on my table, after a help I partially solved the problem, but it did not stay the way I expected. I can already get the currentPage with each click on the < pagination> the problem is on how t...
asked by 24.09.2015 / 19:55
1
answer

Difference between Dates JS - Error momentjs

I need to calculate the difference between two reported dates. I need to know the result in years and months. I used the momentary library in conjunction with angularjs. By putting the Start date as 06/07/2015 and the date of birth as 06/07/1...
asked by 06.07.2015 / 18:04