style(loader): fix code styling for Angular loader

- Adhere to max line length (100)
- Add whitespace and blank lines where needed
- Fix a small capitalization error in a docblock
style(minErr): fix code styling for error message provider

- Adhere to max line length (100)
- Add whitespace and blank lines where needed
- Declare variables in a more logical place