code cleanup for angular files