The file containing class logic usually resides in the *.component.ts file and the view container in the *.component.html. The examples were switched around.
The file containing class logic usually resides in the *.component.ts file and the view container in the *.component.html. The examples were switched around.