window.angular && (function(angular) { 'use strict'; /** * * firmwareCard Component * */ /** * Component template */ const template = `

{{$ctrl.headerLabel}}

{{$ctrl.headerValue}}

{{$ctrl.bmcStatus || 'n/a'}}
{{$ctrl.hostStatus || 'n/a'}}
` /** * Register firmwareCard component */ angular.module('app.configuration').component('firmwareCard', { template, bindings: { headerLabel: '@', headerValue: '<', status: '<', // optional, 'success' or 'error' body: '<', // boolean true to render body content hostStatus: '<', bmcStatus: '<' } }) })(window.angular);