At your current conditioning level, I would say you don't have enough gear for a climb of that level.
If you are going to continue riding that hill, I would say that when you get to the point where you feel like you have to zig zag, get out of the saddle and go, and get a little momentum back, rather than giving it all up. Get a little back, and sit back down, repeat as necessary till you are on the top.
I know that you don't want to hear it, but it's pretty much all in your mind, when you get to that point, and 9 times out of 10, you should be able to push past it. I will qualify that statement, with the little caveat, that I am speaking about a short ride like you have shown. That obviously doesn't apply as much on a 30 mile climb as it does on a 2 mile climb.
Simply put, the single greatest limitation for a novice is mental.