Questions tagged as 'angularjs'

1
answer

Dynamic Paging with Angular Table

I have the following scenario: IretrievethisdatafromaRestAPIwithVraptor.Iwouldliketodisplayonlytwoitemsperpage,butIdonotknowwheretostart.Iimplementedthispagingusingthe ui-bootstrap . How do I make a dynamic query and display only two item...
asked by 23.09.2015 / 16:43
2
answers

Infinite list with ionic?

I'm trying to create an infinite list with the Ionic / AngularJS. This list passes a offset to my webservice to page the SELECT responses. I can not do this and I'm looking for an example but I have not found it yet. I'm trying...
asked by 03.12.2015 / 03:02
1
answer

Angular JS ordering in the table does not change

I am making a call from the server to a user list, the result arrives quietly, but the sort order is not working. HTML <div class="table-responsive"> <table class="table table-striped table-responsive">...
asked by 08.12.2015 / 20:55
2
answers

Cross origin is not working with angulasJS and PHP

I'm trying to download a file through angularJS generating on a php page: PHP Page header("Access-Control-Allow-Origin: *"); include('conn.php'); $arquivo = 'Contratos_Pendentes.xls'; $tabela = '<table border="1">'; $tabela .='<...
asked by 08.09.2015 / 23:34
1
answer

How do I add an animation while loading a request?

I would like to know how to use the Interceptor in a $ http request from my project. The animation I would like to run while the request is made, is a loading done in css. Could someone explain me clearly how the interceptor works?     
asked by 22.01.2015 / 17:39
1
answer

Doubt ajax request with angular js

Now when executing an ajax request for a url containing a json to store inside a vector, the value of the vector is only populated inside the http method, and outside of the error, I made 2 console.log following an empty array, follow the...
asked by 23.01.2015 / 02:25
1
answer

How do I make a Redirect on the route if it's the first time it runs?

My structure looks like this: var app = angular.module('MainApp',[ 'ngRoute', 'mainAppControllers' ]); app.config(['$routeProvider', function($routeProvider){ $routeProvider. when('/tutorial', { templateUrl:...
asked by 23.01.2015 / 21:04
1
answer

AngularJS ng-click event does not work when configured on an element coming from an asynchronous request

I have a page called DLL.php that contains a DataTable ( link ). I used the DataTable plugin's interface to dynamically load the contents of the DataTable. The last column of the table contains only checkboxes. I want these checkboxes to trigger...
asked by 20.03.2015 / 16:49
1
answer

Receive parameters in $ state

In app.config I have the following $ state: .state('app.users.edit', { url: "/editar/:uid", views: { 'content@' : { templateUrl: 'view/users_edit.html',...
asked by 20.11.2014 / 13:33
1
answer

Modify title with angularJS through a form

I have the following code: <!-- define-pageTitle --> <div id="shareContent"> <p class="subtitle-app mt30">Define title page</p> <form onsubmit="return false"> <label>...
asked by 07.11.2014 / 17:48