Questions tagged as 'angularjs'

1
answer

Close a Collapse when opening another using AngularJS UI

I have a collapse and another one on the side, I wanted to click on one, close the other if it was open. My html code: angular.module("seuCondominio", ['ui.bootstrap']); angular.module("seuCondominio").controller("seuCondominioCtrl",...
asked by 22.07.2015 / 22:07
1
answer

Problem with simple validation message directive

I have the following directive: //diretiva responsavel por facilitar a passagem de campos para a validação App.directive("validateMsgFor", function(){ return{ templateUrl : "view/templates/validateMsgFor.html", restrict: "...
asked by 24.07.2015 / 04:00
1
answer

How to store images in a Javascript object?

I'm developing an app that consists of a map and a camera. At the moment, I want to add the possibility of the user taking a photo with the camera and mark the map where this photo was taken, but I have a hard time storing the photo in the objec...
asked by 30.06.2015 / 20:52
1
answer

Problem with Google Charts + AngularJS + ng-view

I'm developing a SPA with AngularJS, and I'm running some tests with Google Charts, however, I'm having a problem that I can not pinpoint why. When logging into the application, the user is redirected to the start page in an ng-view, where there...
asked by 11.11.2015 / 11:19
1
answer

Problem with buttons when clicked on AngularJS

I have a mobile app with the following problem: I have a list of users that each have a "follow" button, which when clicked will have to change not to follow. Return PHP true or false to see if the user who is currently logged i...
asked by 02.11.2015 / 19:40
1
answer

Automatic print after HTML is loaded with AngularJS

When you click a button to print a report, it should consult with AngularJS some information in the database and then execute the command for printing (% with%) after the page is already loaded information. When I try to do this, it goes into...
asked by 29.05.2015 / 14:49
0
answers

Send a list to a web api using $ http.put of AngularJS

I'm having trouble getting a list using the $ http.put method of angularjs, I can send an object normally, but a list is not following, does anyone have any code examples so I can clear this question or pass a link of some material about, from n...
asked by 20.07.2015 / 19:01
1
answer

watch on a ng-click

I have the following input: <input type="submit" value="Publish" ng-click="submit(editAddNotification)" project-focus-invalid-field> When I run it it inserts the change into my database (a PUT). However, I need to call a certain...
asked by 09.12.2014 / 13:52
2
answers

Variable value undefined js

I'm developing a mobile application with the cord, in the mobile version there is a BD that is checking if there is any change in the BD online, if there is an update on the mobile phone, follow my code below: var serviceURL = "http://projeto....
asked by 07.07.2015 / 15:08
2
answers

Problem with Utf 8 in txt file reading

I'm using the following directive to read txt files, however the texts are coming out broken. link     
asked by 02.05.2016 / 21:33