mirror of
https://github.com/mmumshad/ansible-playable.git
synced 2025-03-09 23:38:54 +00:00
Separate logo to a directive
This commit is contained in:
parent
06a261ed0c
commit
e983465aed
8 changed files with 46 additions and 3 deletions
12
client/app/logo/logo.directive.js
Normal file
12
client/app/logo/logo.directive.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
'use strict';
|
||||
const angular = require('angular');
|
||||
|
||||
export default angular.module('webAppApp.logo', [])
|
||||
.directive('logo', function() {
|
||||
return {
|
||||
template: require('./logo.html'),
|
||||
restrict: 'EA',
|
||||
link: function(scope, element, attrs) {}
|
||||
};
|
||||
})
|
||||
.name;
|
Loading…
Add table
Add a link
Reference in a new issue