Skip to content

Instantly share code, notes, and snippets.

@qetr1ck-op
Created September 6, 2015 11:10
Show Gist options
  • Save qetr1ck-op/58281552fe5475f79dda to your computer and use it in GitHub Desktop.
Save qetr1ck-op/58281552fe5475f79dda to your computer and use it in GitHub Desktop.
'use strict';
let app = angular.module('app',[]);
app.controller('MainCtrl', function($scope, $timeout) { //MainCtrl has dependency on $scope and $timeout
$timeout(function(){
console.log($scope);
}, );
});
//And code after minification:
let app=angular.module("app",[]);app.controller("MainCtrl",function(e,t){t(function(){console.log(e)})})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment