cleanup for angular stuff