Step 1: Understanding the Concept
Let the angle between \(\vec{A}\) and \(\vec{B}\) be \(\theta\). The resultant \(\vec{R}=\vec{A}+\vec{B}\) is perpendicular to \(\vec{A}\), so \(\vec{R}\cdot\vec{A}=0\).
Step 2: Calculation
\(A^{2}+AB\cos\theta=0\), so \(A=-B\cos\theta\). The part of \(\vec{B}\) perpendicular to \(\vec{A}\) is the resultant itself, so \(B\sin\theta=\frac{B}{\sqrt{2}}\) and \(\sin\theta=\frac{1}{\sqrt{2}}\).
Step 3: Choosing the angle
\(\theta\) can be \(45^{\circ}\) or \(135^{\circ}\). Since \(A=-B\cos\theta\) must be positive, \(\cos\theta\) must be negative. Hence \(\theta=135^{\circ}\).
Final Answer:
The angle between the two vectors is 135 degrees.
\[ \boxed{\text{(B) }135^{\circ}} \]