symblify
symblify
Have you tried putting a script tag with Douglas Crockford's json2 library (https://github.com/douglascrockford/JSON-js) before AngularJS? That seems to solve the problem for me, certainly when emulating IE7 mode in IE9....
A feature to resolve this has already been committed: https://github.com/angular/angular.js/commit/d519953a4b219035587e3fcb2e9cc52e02b408ca
This fix is now available (1.1.1 release).
I am wondering if it is because the affected attributes are the same but for the `data-` prefix. If you try changing the `data-id` to `data-x`, it seems to work...
As can be seen here https://github.com/angular/angular.js/blob/master/src/ng/timeout.js#L49 $timeout calls $apply on the root scope, which might explain why the age isn't updated.
Ignore my last comment, of course running $apply on the root scope should update all the child scopes too. Interestingly if you add `{{age}}` to the template in the directive,...
Are you using the latest version (1.0.1) of AngularJS? The issue was fixed in that release. The tutorial seems to still use 1.0.0rc12, which explains why it isn't working.
Same as #1059, I think.
@davispw I disagree. That line is within the event handler and is run by all browsers, so if that was the problem it would affect all browsers. Pressing the tab...
Thanks for the PR @jbdutton but as you say in your comment the problem is that there are a lot of keys that are still going to trigger the field...