Human: 2d vector rotate angle. Assistant: 
Here is a Python program to 2d vector rotate angle

import math

def rotate_angle(vector, angle):
    """
    Rotate a 2d vector by a given angle.
    """
    x = vector[0]
    y = vector[1]
    x_new = x * math.cos(angle) - y * math.sin(angle)
    y_new = x * math.sin(angle) + y * math.cos(angle)
    return [x_new, y_new]

# Enter the vector
vector = [1, 1]

# Enter the angle
angle = 45

# Calling the function
print((rotate_angle(vector, angle)))

#Example Output
# [-0.3255815357163887, 1.3762255133518482]

#Remember to inspect code for bugs.