Use bracket notation when setting scope properties