Angular: Removing useless line