Misko Hevery
2430f52bb9
chore(module): move files around in preparation for more modules
2012-03-28 11:16:35 -07:00
Vojta Jina
b3750103cc
fix($parse): Allow property names that collide with native object properties
...
I.e. constructor, toString, or watch on FF
(https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/watch )
+ optimize parser a bit to not create getter function for operators
2012-03-08 11:39:03 -08:00
Misko Hevery
761b2ed85a
feat(parse): add support for local vars in expressions
2012-02-21 22:45:59 -08:00
Igor Minar
8b32900d72
fix($parse): simplify getterFn
2012-01-25 16:52:39 -08:00
Igor Minar
18a1e860a3
fix($parse): small fixes
...
- typos
- dead code removal
- remove unneeded variable
2012-01-25 16:17:44 -08:00
Igor Minar
39b3297fc3
fix($parse): get rid of $unboundFn
...
Closes #731
2012-01-25 16:17:43 -08:00
Igor Minar
b2052d08a1
fix($parse): fixing typos in JS_KEYWORDS
2012-01-23 22:33:28 -08:00
Igor Minar
78b6e8a446
feat($parse): add support for transparent evaluation of Promises
...
Parser now builds expressions that can detect promises and transparently
evaluate them to undefined or the promise value.
If promiseA is resolved with value 'A', then {{promiseA}} evals to 'A';
If promiseA is unresolved, then {{promiseA}} evals to undefined;
Following invocations are supported:
- {{promise}}
- {{promise.futureProp}}
- {{[promise][0]}}
- {{object.promise}}
- {{object[promise]}}
- {{array[promise]}}
- {{fn(promise)}}
- combinations of the above
2011-11-30 14:49:35 -05:00
Misko Hevery
c27aba4354
refactor(api): remove type augmentation
...
BREAK:
- remove angular.[Object/Array/String/Function]
- in templates [].$filter(predicate) and friends need to change to [] | filter:predicate
2011-11-14 20:31:14 -08:00
Misko Hevery
cb6f832f38
refactor(filter): filters are now injectable and services
...
BREAK:
- removed CSS support from filters
2011-11-14 20:31:09 -08:00
Misko Hevery
7c11531902
refactor(parser): turn parser into a service (keep compatibility hack)
2011-11-14 16:39:33 -08:00
Misko Hevery
c6d2549a52
fix(JSON): json date parsing same native/ngular parser
2011-11-14 16:39:33 -08:00
Misko Hevery
bee6060e4b
move(parser): appease the History God
2011-11-14 16:39:33 -08:00