The class is only used as a reference you can import from typescript.
The decorator cannot be put without a class or member to decorate.
After the compilation, it will hold the annotation you used to decorate that class. Those will be used by angular to configure the injector, especially which class it needs to create when a component needs to inject a given member type.
Now, you could put something into the constructor, for instance if you want to do something at the time the module (and related components / providers) are about to be injected. This is the only use I can think about right now.
[edit] I just used it to register a locale when the app do start.
export class AppModule {
constructor() {
registerLocaleData(localeDeCH);
}
}
The idea came from here where they do not specify where to call registerLocaleData