var directives = angular.module('core.directives', []);
directives.directive('navbar', function () {
return {
restrict: 'E',
templateUrl: '/apps/core/navbar.html?noCache=' + noCache
};
});
directives.directive('badge', function() {
return {
restrict: 'E',
scope: {
badgeDetail: '=badgeDetail'
},
template: '{{badgeDetail.badge.name}}' +
'' +
' awarded to ' +
'{{badgeDetail.person.name}}'
}
});
/*
{{badge.name}}
{{badge.createdDate | date:'medium'}}
*/