Changed template parser from run to config

This ensures it is always run before ng.template transform