anchor.diff:    $rootScope.$on('customEvent2'[, callback]),
     $rootScope.$on('customEvent3'[, callback])
   ];
  -$scope.$on('$destroy', function () {
  +$scope.$on('$destroy',  () => {
     unbind.forEach(function (fn) {
       fn();
     });
  
positive.code: // recommended
  function dragUpload () {
   return {
   link: function ($scope, $element, $attrs, $document) {
   $document.addEventListener('click', function () {
  
  [source]
  ----
  
negative.code: 
  Based on: _Opinionated AngularJS style guide for teams by link://twitter.com/toddmotto[@toddmotto]_ and modified for use
  with Hawkular and typescript instead of javascript.
  
  TIP:  This is by no means an Angular or Typescript tutorial. For tutorial resources please see: https://github.com/mtho11/java2angular[Angular/Typescript Resources]
  
  == Table of Contents
  
  