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


#1

$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.


#2

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