THIS is how to code declaratively in Angular