forked from mirrors/Scribe.js
23 lines
469 B
JavaScript
23 lines
469 B
JavaScript
|
(function () {
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
window.app.directive('block', [function () {
|
||
|
|
||
|
return {
|
||
|
scope : {
|
||
|
type : "=",
|
||
|
message : "=",
|
||
|
messageTop : "=",
|
||
|
messageBottom : "=",
|
||
|
forceFile : "="
|
||
|
},
|
||
|
restrict : "E",
|
||
|
templateUrl : 'partials/elements/blocks.html',
|
||
|
replace : true
|
||
|
};
|
||
|
|
||
|
}]);
|
||
|
|
||
|
}());
|