aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChirayu Krishnappa2013-11-08 20:44:32 -0800
committerChirayu Krishnappa2013-11-11 16:17:34 -0800
commit9577702e8d2519c1a60f5ac4058e63bd7b919815 (patch)
tree69a063c50e1b575a77d86abec1587a74d07cc3fd /lib
parenta61b65d01b468502fe53d68818949d3fcc9f20f6 (diff)
downloadangular.js-9577702e8d2519c1a60f5ac4058e63bd7b919815.tar.bz2
fix($resource): don't use $parse for @dotted.member
params and paramDefaults support looking up the parameter value from the data object. The syntax for that is `@nested.property.name`. Currently, $resource uses $parse to do this. This is too liberal (you can use values like `@a=b` or `@a | filter` and have it work - which doesn't really make sense). It also puts up a dependency on $parse which is has restrictions to secure expressions used in templates. The value here, though a string, is specified in Javascript code and shouldn't have those restrictions.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions