The angularjs-model tag has no wiki summary.
1
vote
2answers
72 views
opening a modal without using a button in angularJS which is accessible to all the controllers
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title">Standard message modal</h3>
</div>
<div class="modal-body">
...
0
votes
2answers
53 views
Referencing the element that is calling a controller function Angularjs ( ng-change / ng-blur / ng-* ? )
The original question asked about how to determine which element called the controllers blurr function, but I didn't clarify that I was not specifically asking about ng-blur, but ng-* (ng-change, ...
0
votes
2answers
72 views
Definition of model in frontend JS context
I usually work backend development, where a model is defined as an in-memory representation of either some database query operation or internal, pre-initialized data fields. It is processed by ...
0
votes
1answer
28 views
Can we update JSON files on the fly in Angularjs?
Angular JS seems to have a problem updating content in .json files on the fly. Specifically I have to restart the server (locally) in order for angular to recognise the new data. This seems to be how ...
0
votes
1answer
39 views
Asterisks in input field indicating length with angularjs
I'm using angularjs for a app I'm working on.
I need an input field with a specific length of characters a user has to enter.
To indicate how long the input should be, I would like to have an input ...
0
votes
1answer
135 views
Angular.js ngTable select input as a column not showing the existing value
I'm using Angular.js 1.2 and I'm trying to use a Select input in the cell of an ngTable. The Option list populates but the ngModel directive doesn't seem to select the item for display.
This is what ...
0
votes
1answer
71 views
Parser function does not get called for change in input textbox
I am new to parsers and formatters. I have a directive that will be doing validation on change of the model.One way to do this is the $watch but from what I understand that is not a good way since it ...
-1
votes
1answer
28 views
Binding repeatable form subset to model
On a registration form I allow a user to enter zero or more phone numbers. Each phone number consists of a prefix and a number, these are two fields per phone number. The user may decide how many ...
0
votes
0answers
10 views
AngularJS Model is not updating from view
When the model loads, data is displayed inside textbox, but after that when we change it from textbox, the model is not updating from textbox
var app = angular.module('PEMR', []);
function ...
0
votes
0answers
48 views
Angular Model with Directives
So I'm getting an error in my template with it not liking the ng-model="event.{{name}}". I was wondering how I can get the model to be ng-model="event.date_end".
I am also wondering if this jquery ...
0
votes
0answers
39 views
AngularJS multi-dimensional models: using childscopes?
I'm trying to achieve a form where I can dynamically add rows with multiple fields per row (say a productnumber and quantity). I would like to do this by having a table with the actual inputs visible ...
0
votes
0answers
96 views
Why ngModel.$render is not getting invoked?
EDIT 1: Fixed a bug, but still not working.
element.val(ngModel.$viewValue || '');
should have been:
dateInput.val(ngModel.$viewValue || '');
EDIT 2: The problem seems to be due to the isolate ...
0
votes
0answers
91 views
AngularJS - View not updating until further action taken
Here is a plunker.
Steps to reproduce intended behavior:
In the "Preferred Email" select element, select '[email protected]'.
Delete the text in the input element labeled "Email".
Notice that both the ...
0
votes
0answers
299 views
angularjs select element binding
I've bound newParty.party_type.code model to dropdown. On changing its value from controller it is adding another option with value ? number:2138 ? even if option with value 2138 is already contained ...