Fix for grid column names with spaces

Found this bug while adopting ui-grid.
Field names like 'Col A' will be supported by this fix.
Previously dot notation will cause the script fail at above usage scenario.