some angular best practices and space trimming