Improves code style of angular JavaScript