Tag Archives: module

AngularJS: Introduction to modules

AngularJS has its own modularity system called NgModules. They can contain components, service providers, and other code files whose scope is defined by the containing NgModule. They can import functionality that is exported from other NgModules, and export selected functionality for use by other NgModules. Every Angular app has at least one NgModule(root module) class,… Read More »

Zend Framework 2 : Different layouts for different modules

Step 1 : Create Module MyModule with similar structure to default module Application Step 2 : Add module MyModule in /path/to/yourapp/config/application.config.php

Step 3: Add invocable in /path/to/yourapp/modules/MyModule/config/module.config.php

Step 4 : Create mymodule.phtml as layout for module MyModule with diffrent design Step 5 : Add module layout location information Add module layout location information… Read More »