Questions tagged as 'angularjs'

1
answer

Requests array

I have a list of contacts, each contact has its agency reference and I can only access the data of this agency by making a request. For each contact I have to access the agency to return the complete data. Contact Agencyforthiscontact Ho...
asked by 24.07.2015 / 15:43
1
answer

First page - Ionic and ui-router

I'm defining an application opening page, where a list is displayed and clicking an item, the user is directed to a page that contains tabs . As shown below: Eachtabshoulddisplaythecontentsofanhtmlpage(view).However,Iamnotabletodispl...
asked by 06.07.2015 / 20:37
1
answer

SPA with ui Router Angular JS files many large

Talk the guys. This is a conceptual doubt. Recently I started developing a SPA application ( Single Page Aplication ) making use of the partial rendering concept, using ui Router (more information about a Router here ). It was then...
asked by 08.10.2015 / 14:32
1
answer

Angular in PHP page read an API generated in php

I'm talking about this example: <div ng-app="myApp" ng-controller="customersCtrl"> <table> <tr ng-repeat="x in names"> <td>{{ x.Name }}</td> <td>{{ x.Country }}</td> </tr> </table&...
asked by 07.07.2015 / 20:15
1
answer

Bootstrap Button with AngularJs

How can I change the Button class? <!doctype html> <html ng-app="ui.bootstrap.demo"> <head> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.js"></script> <script src="//angular...
asked by 26.07.2015 / 01:42
1
answer

Making a factory return the data of an Ajax request

I'm trying to make a factory return the JSON of an Ajax request that I'm doing, but I think because it's asynchronous, the container with the users always returns empty. So much that I tested with several console.log and the sequence of...
asked by 12.08.2015 / 01:17
3
answers

Doubt about loading modules with requireJS and angularJS

I am studying a code from a former employee of the company and he used requireJS + angularJS. It created several modules with enough services etc, however, my question is: when using a service or a directive, does the require and the angular loa...
asked by 16.06.2015 / 14:56
2
answers

Send html page variable to another page using javascript

My page receives information from my js, so this is my code: for (var i = 0; i < len; i++) { tblText += '<a href="teste.html"><table id="t01" class="table-bordered">'; tblText += '<tr><th>Protocolo</th>...
asked by 18.06.2015 / 19:42
2
answers

ng-click Does not work with dynamically created elements

Good evening I have this method $scope.register_popup = function(id, name) { for(var iii = 0; iii < popups.length; iii++) { //already registered. Bring it to front. if(id =...
asked by 09.05.2015 / 02:33
2
answers

Find new value of a variable in LocalStorage after returning to the view using $ state.go ();

I have a view that uses a LocalStorage variable called Entity . /* Entity Service */ .factory('EntityService', function (){ return { getEntity : function(){ return JSON.parse(window.localStorage['entity'] || false); }...
asked by 29.04.2015 / 23:12