hunk.code_window:           <span ng-bind="main.state.getFlashState().speed.toFixed(2) + ' MB/s'"></span>
             <span>ETA: {{ main.state.getFlashState().eta | secondsToDate | amDateFormat:'m[m]ss[s]' }}</span>
           </p>
           <div class="target-status-wrap" ng-if="main.state.getFlashState().failed">
             <div class="target-status-line target-status-failed">
  
hunk.labels: keep replace keep keep keep keep
hunk.after_edit:           <span ng-if="main.state.getFlashState().eta != null">ETA: {{ main.state.getFlashState().eta | secondsToDate | amDateFormat:'m[m]ss[s]' }}</span>
  
hunk.file_path: lib/gui/app/pages/main/templates/main.tpl.html
hunk.type: replace
file: /*
   * Copyright 2016 resin.io
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *    http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  'use strict'
  
  /**
   * @module Etcher.Components.WarningModal
   */
  
  const angular = require('angular')
  const MODULE_NAME = 'Etcher.Components.WarningModal'
  const WarningModal = angular.module(MODULE_NAME, [
    require('../modal/modal')
  ])
  
  WarningModal.controller('WarningModalController', require('./controllers/warning-modal'))
  WarningModal.service('WarningModalService', require('./services/warning-modal'))
  
  module.exports = MODULE_NAME
  