I have helped clients in both areas and the best way to answer that is are you single, married, married with kids? I say this because you have to take into consideration local schools, your lifestyle, and safety for everybody. Remember you can use the megans law website to see if there are any sex offenders in the area http://www.meganslaw.ca.gov/
Having said all this do some research and ask your local Realtor to help you out. I am a mortgage broker and should you need some mortgage advice or see what you qualify let me know. Personally I would go west of the 405 and you are in a nicer area.