Questions tagged as 'angularjs'

2
answers

$ window.location.reload ()

I use AngularJS in a webapp, in this webapp I have implanted a map where it shows my clients from a marker. The map I'm using is Leaflet ( link ) with a directive for AngularJS ( link ). My problem is this, when I first access the map, it wor...
asked by 16.01.2017 / 11:43
2
answers

Place "R $" in angular

I need to put an R $ in AngularJs. The code is this, someone could help me and is returning a value in the value. $scope.addValue = function(el) { var element = el.currentTarget.attributes["ng-model"].nodeValue; var status = el...
asked by 18.11.2015 / 19:02
1
answer

Input with the date of the respective day, without being able to be edited

I need an input to come with the date of the respective day, for example today: 11/17/2015, tomorrow 11/18/2015. This input can not allow edits. My code looks like this: <label class="item item-input"> <span class="cinza input-...
asked by 17.11.2015 / 11:40
3
answers

How to make the data appear in the fields in AngularJS

I am entering with a zip and a search is done and brings me the other data ... However, I want the data to be displayed, each in its own field, as it will be inserted into the database. How to proceed? html: <body ng-controller="appContr...
asked by 20.01.2016 / 21:30
3
answers

How to share access between policies?

How can I call a directive within a second policy? I have a variable x in directive 1 and I want to access this variable x in a directive 2 so I can say that x (diretiva 1) === y (diretiva 2) .     
asked by 25.11.2014 / 14:03
2
answers

How to retrieve sent data from a non-angular post requisition

I am making a post request to a php file that needs some data that is sent by the request. My question is how to retrieve this information being sent in the request My code for the request looks like this: //pego a descricao no compa input...
asked by 14.05.2015 / 20:54
2
answers

Where to store information?

I have an angled, basic application with forms that stores the data in arrays and receives the dado in dados in div's . Now how can I store this data? What options do I have when using AngularJS ? Being familiar with php and...
asked by 30.09.2016 / 11:54
2
answers

Error: $ injector: modulerr Module Error

In a project I'm developing, I'm including the files: app.js angular.module('app', [ 'app.controllers', 'app.services' ] controller.js angular.controller('HomeController', function($scope, HomeService) { // code }) ser...
asked by 16.08.2014 / 23:54
1
answer

Doubt on angular services

A clue please, if I have a service ServiceY and this service has a ServiceY.nome attribute. In the same screen I have four controller , being: controller_A , controller_B , controller_C and controller_D an...
asked by 16.05.2017 / 14:40
1
answer

What is $ parent in AngularJS?

I'm reviewing a PR from a colleague and I came across the use of $parent , I read a little in the documentation of the angle, but I can not understand what it does. Home Is it used inside a dialog created inside another, would it have any...
asked by 14.06.2017 / 19:45