Most voted "angularjs-scope" questions
59 questions
Sort by count of
-
0
votes2
answers351
viewsAngular filter with ng-repeat giving strange error
Folks I’m having trouble using a filter in conjunction with ng-repeat. I have a json of events where I want that when selecting an event type in select, the filter returns a new json with only the…
-
0
votes1
answer337
viewsAngularjs value $Scope out of view
I’m having a doubt in the Angularjs that I’m not able to solve, my index.html is as follows: <div ng-show="error" class="alert alert-danger">{{error}}</div> <div ng-show="success"…
-
0
votes1
answer289
viewsDropdown in modal does not see Switch controller Angular JS 1.5
good morning. The problem is this, I have a news feed page and within it I use a Modal Angular UI - Modal to show the information of a specific post. Until then everything quiet, the information and…
-
0
votes2
answers575
viewsAngular does not recognize a variable out of control
I have a question, I have searched in other forums and I did not find the solution. I did a test on a code below just for demonstration. *//dentro do controle do angular*…
javascript angularjs angularjs-directives angularjs-scopeasked 7 years, 9 months ago Pedro Lucas Lima 1 -
0
votes1
answer555
viewsAssign value to a variable in a controller and do not modify the value of the $Scope variable
I wonder why when I assign the value to a variable within a controller coming from a $Scope variable and change the value of that variable, the value of the $Scope variable is also changed. For…
-
0
votes1
answer34
viewsUpdate tbody when selecting option in ng-options
I need to update a div after selecting the ng-option option. Controller.js $scope.prop = { "type": "select", "name": "Service", "value": "CDI", "values": [ "CDI", "IBOVESPA"] }; index.html <label…
-
0
votes1
answer95
viewsHow to receive a directive within a component in Angularjs
This photo exemplifies what I wish to do: Link to TOTVS Angularjs documentation This is the excerpt from the form where I’m trying to do this. I’m getting the components required, number and…
angularjs angularjs-directives angularjs-scope angularjs-componentsasked 6 years, 1 month ago Rafael Zulianeli 1 -
-1
votes1
answer194
viewsError Angularjs
Hello, I am applying the following function in my Angularjs controller: $scope.cancelChanges = function() { $scope.name = $scope.namebackup; $scope.$apply(); }; However, when running $apply(), it…
-
-1
votes1
answer58
viewsHow to start Select based on an Angularjs Scope Model
I have the following code (with the listing working OK): <select ng-model="elementoAtivo.tipo" ng-init="elementoAtivo.tipo = elementoAtivo.tipo" ng-options="a.valor as a.opcao for a in…