Most of those rules come from Angular Style Guide (https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md).
In this document, we call angular things the different parts of an angular module: constants, variables, services, factories, controllers, directives, filters, and components.
https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md#iife
Use IIFE to enclose any code