Vincent Fournier 0ae8c62f60 Improve service page and directives
Change-Id: Ie400740374f0222f20c00610c78a4e5d40c6004f
2015-05-20 11:56:31 -04:00

18 lines
441 B
JavaScript

'use strict';
angular.module('bansho.host.main', [])
.controller('HostMainCtrl', ['$scope', function ($scope) {
angular.noop();
}])
.directive('banshoHostMain', function () {
return {
restrict: 'E',
compile: function (scope, element, attrs) {
scope.host = attrs.host;
},
templateUrl: 'components/host/host_main/host_main.html'
};
});