dolphin-angularjs-module
v0.3.0
Published
Angular JS
Downloads
5
Readme
Installation
npm install dolphin-angularjs-package --save
AngularJsConfigurationFactory
The factory has default methods:
methods:
- addModule - registration custom module
When you call "addModule" the plugin will read all folders in public folder:
package_folder
public
controllers
directives
routes
services
providers
filters
vendor
views
angular_module.js // will include firstly
Access to view folder you can get like this: /Name_Of_Module/views
Notice!
you don't need to use AssetManager to merge all files from public folder!
Example
myModule.configureFactories(function (AngularJsConfigurationFactory) {
//the first parameter is name of module for AngularJS
//the second is variable of module
AngularJsConfigurationFactory.addModule('test', test);
});