In the example for ngDialog they show a modal that has multiple 'panes' that you can scroll through: http://likeastore.github.io/ngDialog/.
I read through the ngDialog guide and couldn't find an easy way to accomplish this - any ideas would be greatly appreciated. All I want is a button on the pane that you are able to click to go to the next pane in the modal. (Just like the example - but without the animation).
Thanks!
//Here is my Controller instantiation of the ngDialog
$scope.clickToOpen = function(testy) {
ngDialog.open({
template: 'createNewTemplate',
scope: $scope
});
};
And here is my HTML Template:
<form ng-submit="login()">
<h1>Login</h1>
<input type="text" ng-model="loginUser.email" placeholder="Email">
<input type="text" ng-model="loginUser.password" placeholder="Password">
<button ng-click="goToNextPane()"> Login </button>
</form>