This is the code for angular app