Fixes $compile $rootScope bug when minifying source

$compile and $rootScope are not properly injected when using the non
minified version of the library. It is better practice to explicitly
inject those using array syntax.