support templateUrl. #18