prepare for angular