import {ICollapsePanelScope, PanelContent} from '../collapsePanel/CollapsePanes'; export function SmartMeterFaqDirectiveFactory(){ return new SmartMeterFaqDirective(); } export class SmartMeterFaqDirective implements angular.IDirective{ restrict = 'EA'; template = require('./../collapsePanel/CollapsePanel.html'); scope = {}; link = (scope:ICollapsePanelScope, element:JQuery, attributes:ng.IAttributes) => { scope.panels = new PanelContent(); scope.panels.push({ title: 'What’s Simply Smart?', body: 'With a Simply Smart upgrade, we’ll install a smart meter in your home for free – so it’s easier to manage your energy. A smart meter is like a traditional meter, but it ‘talks’ to us, so you’ll never give meter readings again. It also puts you in control – by showing exactly how much energy you’re using and when. This helps you manage the amount you spend on energy – and hopefully cuts your bills. You can track your energy use with the in-home display, on our app, or online via My OVO – so your energy is literally at your fingertips.' }); scope.panels.push({ title: 'When can I get Simply Smart?', body: 'Once you’re on supply with us, and you’ve had your first bill, we’ll be in touch to arrange your free smart meter installation. Remember that it takes around 3 weeks to switch energy provider.' }); scope.panels.push({ title: 'How do I get my smart meter?', body: 'Shortly after you’ve received your first bill with us, we’ll get in touch to book in your smart meter installation. One of our trained engineers will then install it free of charge, at a time that suits you.' }); } }