Use angular instead of vanilla js