Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

How to load content in a tab from modal?

$
0
0

Hi,
Could you please try this..
Use the $ionicModal , and also don't forget to inject $ionicModal in your controller..
$ionicModal.fromTemplateUrl('views/modalcontent.html'', {
scope: $scope
}).then(function (modal) {
$scope.modal = modal;
});
// Triggered in the product modal to close it
$scope.closeModal = function () {
$scope.modal.hide();
};

I hope this will help you ..
Thanks..


Viewing all articles
Browse latest Browse all 228595

Trending Articles