Basic App - With Module Dependency Injection

Show source

This demo shows a basic application with one label component (jqcLabel) and one module bootModule .

Notice how the module factory function (bootModule() declares a module parameter instead of creating a module object itself. This makes the module factory function a bit shorter than when it has to create a module object and return it. Two lines are saved.

Label: