Fix build

@dknochen @Alexander-Kreutz this is the best practice for global dependencies. At the end the jshintrc should only allow `angular` as a global variable.