Skip to content

baasicNotifications.moduleDefinition

Darjan Bogdan edited this page Oct 14, 2016 · 2 revisions

baasic.notifications

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.notifications 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.notifications",
    "baasic.article",
    "baasic.dynamicResource",
    "baasic.keyValue",
    "baasic.valueSet"
  ];
  Main.module = angular.module("myApp.Main", dependencies);
}
  (MyApp.Modules.Main = {})); 

Clone this wiki locally