Questions tagged as 'angularjs-scope'

1
answer

Prevent duplicate entry in a list using AngularJS

HTML: <div class="container" ng-controller="ListaComprasController"> <div class="row"> <div class="page-header"> <h1>Lista de compras</h1> </div&g...
asked by 05.11.2015 / 16:16
1
answer

Problems with ng-required and ng-disable

I have a web application where a person can enter their abilities but if there is a bug that allows them to enter blank skills, then I am trying to use ng-required on input and ng-disable on my button to this does not happen...
asked by 03.03.2016 / 20:37
1
answer

Using return of one AngularJS method in another controllerJS

I have this method in my controllerJS script and would need to use the response of this method on another controllerJs. How do I do it? app.controller("loginController", function($scope, $http, $location){ $scope.usuarios = {}; $s...
asked by 19.10.2017 / 15:12
1
answer

Share object between two controllers in angularjs

I am studying AngularJS and I am trying to make a CRUD simple, but I am not able to have the same object of my listing for my form, that is, when I click the edit button go to the completed form by the object. I have Factory...
asked by 11.07.2016 / 18:32
2
answers

AngularJS | How to define a boot process for a controller?

I have a full Ajax app that needs to get data via WebService when the page loads. I have already initialized via ng-init but I do not know how to send the controller "load" and execute the block of code that retrieves the data. When I ent...
asked by 04.09.2015 / 03:17
1
answer

Tree menu / collapse with three levels

I'm creating a navigation sidebar for an application in AngularJS. The structure is basically a tree menu, however each level has different interactions (which I will still build). For example, the first and second levels will only show and hide...
asked by 06.10.2014 / 19:12
1
answer

How to create a directive in AngularJs that creates a mask and did not modify the ng-model?

I created a directive where it serves as a mask for checking account, so when I type a value, always the rightmost value in the input is the digit of my account, until then beauty is working. The problem is that I do not want to change the value...
asked by 19.04.2018 / 19:16
1
answer

AngularJS scope variable not updating

I'm having a bizarre problem with a variable I created in HTML itself with AngularJS. I even tried to instantiate it on the Controller to see if that was the problem but no. I have a button that in ng-click I say that this variable (wh...
asked by 21.09.2017 / 20:15
1
answer

$ conditional non-angular scope

Hello I have these radio buttons: <div class="row" ng-controller="GetDados"> <div class="col-lg-10 col-lg-offset-5"> <label class="radio-inline"> <input type="radio" name=...
asked by 17.05.2016 / 19:13
1
answer

Problem receiving a value from a radio button

I'm starting to mess with AngularJS and had a little problem messing with radio buttons . My HTML code: <!DOCTYPE html> <html> <head> <title>Temperature Converter</title> <meta charset="UTF-8"/> </head&g...
asked by 24.05.2015 / 03:58