-
Notifications
You must be signed in to change notification settings - Fork 0
baasicDynamicResource.moduleDefinition
Baasic edited this page Apr 27, 2015
·
7 revisions
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.dynamicResource
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.appSettings',
'baasic.article',
'baasic.dynamicResource',
'baasic.keyValue',
'baasic.valueSet'
];
Main.module = angular.module('myApp.Main', dependencies);
}
(MyApp.Modules.Main = {}));