This post follows on from the last post on Angular Performance monitoring
[https://country-code.ghost.io/angular-with-web-performance-api/]. The code is updated to use
some custom Typescript decorators to add marks and measures to the component.
Below is the mark decorator. Simply takes the mark name and creates the mark.
export