Category Archives: Angular

Angular styleUrls and styles in a component

Angular templates can add CSS styling by referencing external CSS files using the styleUrls directive or by adding inline CSS by way of the styles directive. Both directives can be present in the same component but the inline and external … Continue reading

Posted in Angular | Tagged | Comments Off on Angular styleUrls and styles in a component

Angular Safe Navigation Operator

For those that are new to Angular there is an incredibly useful operator for use in templates. It is called the safe navigation operator and is noted with a question mark (?). Avoid the extra code of checking an object … Continue reading

Posted in Angular | Tagged , | Comments Off on Angular Safe Navigation Operator