added code for simple angular component