In normal JavaScript, you can declare variables like this;
var obj = {};
obj["item-text"] = {};
obj["item text"] = {};
Example given here: http://jsbin.com/petafu/1/edit
And it's perfectly fine. But this doesn't seem to work in angular on the $scope. I attempted to do this and could not really understand why, but cannot find any resources talking about it...
JS
app.controller('ControllerName', function($scope){
$scope['item text'] = {};
$scope['item-text'] = {};
});
HTML
<div ng-model="item text"></div>
<div ng-model="item-text"></div>