Eclipse.JS
HTML
<div ngp-app"myapp">
</div>
JavaScript
var mod = angular.module('eclipsejs', []);
mod.directive('panel', function() {
return {
restrict: 'AE',
replace: 'true',
template: '<h3>Hello World!!</h3>'
};
});
<div ngp-app"myapp">
</div>
var mod = angular.module('eclipsejs', []);
mod.directive('panel', function() {
return {
restrict: 'AE',
replace: 'true',
template: '<h3>Hello World!!</h3>'
};
});