UNPKG

acha-framework

Version:

is a modular framework on both client (angular.js) and server (node.js) side, it provides security, orm, ioc, obfuscation and ...

25 lines 760 B
(function ($, angular, underscore, window, document, undefined) { 'use strict'; angular.module('frontend.directives').directive('sideMenu', [ 'sideMenuService', function (sideMenuService) { return { restrict: 'E', replace: true, scope: {}, templateUrl: '/templates/framework/panel/directives/side-menu/template.html', link: function (scope, element, attr) { scope.vm = { dataSource: sideMenuService }; scope.vm.init = function () { scope.vm.bind(); }; scope.vm.bind = function () { }; scope.vm.signOut = function () { }; scope.vm.init(); } }; } ]); }(jQuery, angular, _, window, document));