UNPKG
unserver-unify
Version:
latest (0.2.0)
0.2.0
unserver-unify
/
src
/
app
/
directive
/
json.component.js
10 lines
•
226 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
angular.
module
(
'bamboo'
).
component
(
'jsonBlock'
, {
template
:
'<pre>{{$ctrl.src|json}}</pre>'
,
bindings
: {
src
:
'<'
, },
controller
: function() {
var
self
= this;
self
.
$onInit
=
function
(
)
{}; } });