added a way to get the function from the config if webpack v1
added a way to get the function from the config if webpack v1

YashdalfTheGray/auto-ngtemplate-loader,YashdalfTheGray/auto-ngtemplate-loader