old_contents: require('../app').controller('MobileStatsController', /* @ngInject */function ($scope, $state, $q, api) {
    var controller = this
  
    controller.forms = ['birds', 'herptiles', 'mammals', 'plants', 'invertebrates']
  
    $q.all(controller.forms.map(function (form) {
      return api.stats[form + '_top_stats']().then(function (res) {
        var stats = {}
        stats[form] = res.interesting_species
        return stats
      })
    })).then(function (result) {
      controller.stats = result.reduce(function (res, current) {
        return Object.assign(res, current)
      })
    }).catch(function (err) {
      console.log(err)
    })
  })
  
new_contents: require('../app').controller('MobileStatsController', /* @ngInject */function ($scope, $state, $q, api) {
    var controller = this
  
    controller.forms = ['birds', 'herptiles', 'mammals', 'plants', 'invertebrates']
  
    $q.all(controller.forms.map(function (form) {
      return api.stats[form + '_top_stats']().then(function (res) {
        var stats = {}
        stats[form] = res.interesting_species
        return stats
      })
    })).then(function (result) {
      controller.stats = result.reduce(function (res, current) {
        for (var key in current) {
          if (!current.hasOwnProperty(key)) continue
          res[key] = current[key]
        }
        return res
      })
    }).catch(function (err) {
      console.log(err)
    })
  })
  
subject: fix showing stats on older android devices (#58)