Hello, I am currently learning to validate forms with angularjs and emerged me a problem: I have a form with two fields that are interrelated and validation depends on the value that both have . I created a directive to display these fields and another policy that is responsible for conducting the validation. When you load the form , everything works fine , but as you modify one or another field , all fails. I think the reason is that when validating a field, I take the scope the value of another field, but I 've noticed that I do not have a single scope , I have two ( one each from the fields to validate ) and when I access scope attempt by the value of the field I'm not editing , this is undefined ( you can see it for yourselves console)
Anyone know how to fix a long running script error in IE for an angular application when it runs fine in Chrome and Firefox? This is sort of an edge case as most instances the event the that triggers 5 services calls will not come back with as much data but the amount of data is being compressed to 49.6KB and the scripts is just over 10.9 seconds. IE FML!
I have a select drop down menu with an ng-model attribute binding to an integer (though I've tried strings also). Within that select element, I use ng-repeat on an option element to populate my drop down values. My expectation is that all of the intended values will be in the drop down (works correctly at present) and that when other changes happen on the page, it will update the selected value dynamically from ng-bind (not currently working).
Do I have a design flaw, or is this more likely a bug somewhere else in my code?
How to avoid root scope digests using faster angular events, which mimic the functionality of the existing ng-event directives, but have a feature that allows them to be called in a desired scope, rather than trigger a root scope digest.