0.3.0 • Published 8 years ago

dolphin-angularjs-module v0.3.0

Weekly downloads
43
License
-
Repository
github
Last release
8 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

8 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago