Skip to content

baasicFiles.moduleDefinition

Dijana edited this page Mar 14, 2016 · 2 revisions

baasic.files

The angular.module is a global place for creating, registering or retrieving modules. All modules should be registered in an application using this mechanism. An angular module is a container for the different parts of your app - services, directives etc. In order to use baasic.files module functionality it must be added as a dependency to your app.

Example:

(function (Main) {
  "use strict";
  var dependencies = [
    "baasic.api",
    "baasic.membership",
    "baasic.security",
    "baasic.userProfile",
    "baasic.files",
    "baasic.article",
    "baasic.dynamicResource",
    "baasic.keyValue",
    "baasic.valueSet"
  ];
  Main.module = angular.module("myApp.Main", dependencies);
}
  (MyApp.Modules.Main = {})); 

Clone this wiki locally