Angular binding to square bracket notation property with a space
问题 Is it possible to bind to a property in angular using the square bracket notation of accessing properties. For example (using pseudo-code). <script type="text/javascript"> var object = { }; object["my property"] = 3; </script> <input ng-model="object['my property']" /> I know square bracket notation is supported, but there doesn't seem to be a way to bind to a property that has a space in it. While this is just pseudo code, the specific error we receive in angular is : "Uncaught Error: Syntax