Questions tagged as 'angularjs'

1
answer

how to replicate a dynamic table

How do I load exactly the same structure I create on another screen? Next, I have this registration screen where clicking on the "+" button will add text type inputs (according to the attached code) My problem is that this creation is dynamic...
asked by 12.07.2017 / 17:40
1
answer

Rendering Dynamic Images with Angle

I have an object in the following format: Withinthemainobjecthasanobjectcalledupload.Thisobjectcontainsinformationabouttheimagestoberendered.I'mtryingtodothis:ng-src="{{o.way}}{{o.original_filename}}" But it does not work at all. Returns the...
asked by 18.05.2017 / 14:08
1
answer

Doubt with API access - using Angular - typescript

I set up a website to study a store WooCommerce, I activated the api and generated the keys. In the root of the site I added in the .htaccess, is it in the correct place?: # Permite acesso ao pacote Font Awesome <FilesMatch ".(ttf|otf|wo...
asked by 08.05.2017 / 18:58
2
answers

Angular does not recognize an out-of-control variable

I have a doubt, I have already tried other forums and I did not find the solution. I tested the code below for demonstration purposes only. *//dentro do controle do angular* angular.module("NaBalada").controller("NaBaladaLocal", function(data)...
asked by 26.04.2017 / 01:08
1
answer

How not to allow the BackButton using Ionic, when there is a condition?

How can I hide (and / or change the direction of the BackButton) when I have a condition in the View? I'm trying this way: if (window.localStorage.getItem("fonecedor_carrinho") != '0' && window.localStorage.getItem("fonecedor_carrin...
asked by 07.04.2017 / 15:56
1
answer

Disable buttons

The two buttons "exclude participant" and "forward for authorization" should be disabled as soon as there is no participant registered in the event, fields (cpf, name, situation ... etc). <div class="col-md-5"> <button type="butto...
asked by 22.03.2017 / 16:27
1
answer

Accentuation problem in array generation with AngularJs [duplicate]

I'm having trouble printing the user's payment methods, they're being stored in my LocalStorage with the wrong accent: //PEGA$scope.formaspag(array2nolocalstorage)ECOMPARACOMOSCÓDIGOSDEFORNECEDORES_CONFIGURA_FRETEEIMPRIMENATELA$scope.array...
asked by 24.03.2017 / 14:28
1
answer

Limit text to first paragraph in AngularJS

I have an application that receives a giant text from the database. I want to display only the first paragraph and put a text saying "SEE COMPLETE DESCRIPTION" just below and when I click open in a modal or even in the div where the rest of t...
asked by 24.03.2017 / 19:21
1
answer

Angular form submit

I am using metronic with angular and I have the controller all right, however I tried to create a function that displays what the user typed in a field in an alert (in the future I will filter) ... HTML file: angular.module('App').contr...
asked by 08.03.2017 / 17:37
1
answer

Access variable from within the scope of the promise

I have a factory that must access two other services. Being the following structure: angular.module('my.module') .factory('ServiceMain', ServiceMain); ServiceMain.$inject = ['ServicePrimary', 'ServiceSecondary']; function ServiceMain(Service...
asked by 04.04.2017 / 15:41