0.3.0 • Published 9 years ago

dolphin-angularjs-module v0.3.0

Weekly downloads
43
License
-
Repository
github
Last release
9 years ago

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);
});
0.3.0

9 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago