Questions tagged as 'angularjs'

1
answer

How to use factory, Angular, with firebase?

Good afternoon, Guys, I'm trying to create a factory with firebase, to bring the data of it. My controller: app.controller('ListagemCtrl', function($scope, $location, $firebaseObject, $timeout, appFactory){ $scope.filmesCadastrados = [];...
asked by 30.11.2016 / 20:11
1
answer

Angularjs with file upload - jasny

I have 2 problems when I open my modal: After opening the modal, select a photo and close, when I open again, the photo that was not reset, I am in doubt about passing null to this variable. I'd like to pass a photo from the server to t...
asked by 19.12.2016 / 03:13
1
answer

How to get an array from a table and fetch another table in Ionic and AngularJS

I have a field in a table with array numbers: 2;3;7;8;9;10;11;15;1 Each of these numbers corresponds to an ID of another table. I need to list the items in this other table according to the array. I can not come to a favorable logic....
asked by 19.12.2016 / 13:00
1
answer

How to list in the View what appears in the console?

I have this routine: $scope.array1 = window.localStorage.getItem("tipos_pagamentos"); var as_formas_pag = $scope.array1.split(';'); for (var i = 0; i < as_formas_pag.length; i++){ $scope.array2 = as_formas_...
asked by 22.01.2017 / 15:39
2
answers

How to list array values (AngularJS) using PHP?

I would like to know how to perform the listing (" foreach ") of my $scope.items array within PHP so that I can work individually with each value entered. JavaScript: var app = angular.module('app', []); app.controller('control...
asked by 30.12.2016 / 03:31
1
answer

Set object in Angular JS

I have the following list structure: <div style="position: fixed;z-index: 999;top:20%;margin:0 auto;left:25%;width:50%;padding:5%;background:#FFF;" ng-if="templateForm == 'light-box-selectcasa'"> <div class="col-md-12">...
asked by 03.11.2016 / 12:12
1
answer

Error sending form data Ionic + PHP + MySQL

I am trying to send data from my form, already all validated to my database in MySQL with PHP, but it returns me the following error and does not send: WhatcanIdowrong?Ineedthishelp.MyController:(function(){"use strict"; angular.module(...
asked by 03.11.2016 / 11:38
1
answer

Add a sidemenu on ionic Blank template

Hello I created my project using the blank template of ionic1, but there was a need to add a sidemenu in my project. I have not been able to add this menu in a while and would like to know if anyone has already done this and could share with...
asked by 28.10.2016 / 02:57
1
answer

AngularJs - directives do not work via ajax

I have a page: index.php and app.js . on my app I make a load to main.php which is the initial loading of the site. within main it will get select , div with ng-repeat , ng-source...
asked by 02.11.2016 / 07:27
1
answer

Problem passing parameters through url using angularjs

I have a template here that uses angularJS and its route system is as follows .state('app.produto', { url: '/produto', templateUrl: 'tpl/detProdutos.php', // use resolve to load othe...
asked by 24.10.2016 / 00:45