I asked this question on stackoverflow.com, because I was having issues getting dot syntax to work with Angular and mongoose. Turns out you can't have a space in there, and have to drop the dot in favor of square braces and quotation marks. Ugh, I hate ["double enclosure"] requirements... dumb!
At first I thought I might have to use $interpolate or $sanitize Angular services along with express's app.set but I was wrong. Angular is still very mysterious to me, Express only slightly less so. Time! sigh
No comments:
Post a Comment