Can $ionicPopup.show() config template be an external file?

$ionicPopup.show() sample shows that one can embed html in the tempate as follows:
var myPopup = $ionicPopup.show({
template: ‘’

can the template be replaced by?
template: ‘dialogs/wifi_authentication.html’

where dialogs is a folder and wifi_authentiation.html is an HTML file in it.

Never mind, found it: templateUrl is the answer.
Leaving post here to those who are interested.