(function() { 'use strict'; angular .module('ngNjOrg') .controller('CodeController', CodeController); function CodeController ($log){ var self = this; } })();
ES2015 Controller:
export class CodeController { constructor($log) { let self = this; $log.log('CodeController was created.'); } }