2016-02-08 07:35:34 -06:00
|
|
|
define([
|
|
|
|
'app/plugins/sdk'
|
|
|
|
], function(sdk) {
|
|
|
|
|
|
|
|
var BoilerPlatePanel = (function(_super) {
|
|
|
|
|
|
|
|
function BoilerPlatePanel($scope, $injector) {
|
|
|
|
_super.call(this, $scope, $injector);
|
|
|
|
}
|
|
|
|
|
|
|
|
// you do not need a templateUrl, you can use a inline template here
|
|
|
|
// BoilerPlatePanel.template = '<h2>boilerplate</h2>';
|
|
|
|
|
|
|
|
// all panel static assets can be accessed via 'public/plugins/<plugin-id>/<file>
|
2016-02-09 11:17:32 -06:00
|
|
|
BoilerPlatePanel.templateUrl = 'panel.html';
|
2016-02-08 07:35:34 -06:00
|
|
|
|
|
|
|
BoilerPlatePanel.prototype = Object.create(_super.prototype);
|
|
|
|
BoilerPlatePanel.prototype.constructor = BoilerPlatePanel;
|
|
|
|
|
|
|
|
return BoilerPlatePanel;
|
|
|
|
|
|
|
|
})(sdk.PanelCtrl);
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
PanelCtrl: BoilerPlatePanel
|
|
|
|
};
|
|
|
|
});
|