allow obj[attr] syntax for ng-models