diff options
| author | Misko Hevery | 2010-01-24 20:44:17 -0800 |
|---|---|---|
| committer | Misko Hevery | 2010-01-24 20:44:17 -0800 |
| commit | 473e57e22532f9b85fc9dcc1bcc53e12a10154c2 (patch) | |
| tree | 356af7d62bd7e98df24e425f6ff2d56457722af2 /src/Parser.js | |
| parent | 0f42fa2930f5827ac9f1eac2ce09ea3bf9533563 (diff) | |
| download | angular.js-473e57e22532f9b85fc9dcc1bcc53e12a10154c2.tar.bz2 | |
bindRootId configuration option
Diffstat (limited to 'src/Parser.js')
| -rw-r--r-- | src/Parser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Parser.js b/src/Parser.js index d33ae3db..fe9671af 100644 --- a/src/Parser.js +++ b/src/Parser.js @@ -695,7 +695,7 @@ Parser.prototype = { self.scope.set(entity, Entity); if (instance) { var document = Entity(); - document.$$anchor = instance; + document['$$anchor'] = instance; self.scope.set(instance, document); return "$anchor." + instance + ":{" + instance + "=" + entity + ".load($anchor." + instance + ");" + |
