Modified requirejs compile task to handle properly angular's dependency injection