Questions tagged as 'angularjs'

1
answer

AngularJS google chart with dynamic data

Example of how my code is http://plnkr.co/edit/hMnKAzjbkQzHWjL5p6KX?p=previewangularjs I get the data from the webService and I organize it this way. var avaliacoes_descTipo = []; var avaliacoes_quantidade = []; angular.forEach(data, fun...
asked by 15.08.2016 / 16:12
1
answer

Doubt - Angular Controllers

I'm studying Angular and I had a question. I'm creating an application, and I wanted to organize the controllers by creating one for each View (template). Exemplo: Tela Cadastro - controller-cadastro.js Tela Login - controller-cadastro.js Tela...
asked by 30.11.2016 / 12:48
1
answer

AngularJs - Modulate a code to be reusable in multiple projects

Next, I'm developing a webapp where I have a very broad administrative area with several functions. In another project that I closed a few days ago I was also asked for an administrative area with several functions that are similar to the one I'...
asked by 09.11.2015 / 01:00
1
answer

Is it possible to authenticate with angularJS?

Is it possible to authenticate with Angular and recover the logged in user? If possible what is the best practice to do?     
asked by 28.09.2015 / 22:10
1
answer

How do I use a font-awesome icon with the Knob button?

In the Angular Material documentation there are examples of how to use icons in buttons through an SVG icon. / p> Example: <md-button class="md-icon-button md-primary" aria-label="Settings"> <md-icon md-svg-icon="img/icons/m...
asked by 14.02.2017 / 16:19
3
answers

Update $ scope in AngularJS

The problem, in a general way, is that I can not pick up information I received on a controller and apply it to my html, when I try to print it instead the variable on the screen is empty when I give console.log on my scope, the information is th...
asked by 08.04.2014 / 04:35
2
answers

Change System Logo

I'm creating in a system that I'm developing for our client, a function where it allows the same to upload the logo and cut it, then when it's saved I'm trying to load the image that was uploaded, but it happens I need it to always be the same n...
asked by 04.02.2016 / 12:31
2
answers

Problem in currency mask in input

I'm having a coin mask problem with AngularJS. I found this thread in Stackoverflow in English. The mask works fine by typing in the input and arrives right in the controller , however when I command formatted the controller to the scr...
asked by 29.01.2014 / 20:43
1
answer

Where and how do I save the API's authentication token?

Hello, I'm having an angled application, which will consume a API . For this to happen, I must send POST to another API , which serves only to generate a token that I will pass on all other requests. My question is this...
asked by 03.05.2018 / 15:49
1
answer

Calculate the sum of repeated elements in Angular-JS using ng-repeat

In the code below an expense list is displayed using ng-repeat. For each element the description and the value are shown. What is the simplest way to show this total? <table class="table table-hover"> <th>DESCRIÇÃO</th>...
asked by 15.08.2017 / 16:10