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

Help me with this controller?

$
0
0

if you want to navigate between page try use $state.go

like this:

app.controller("RegistrationCtrl", function($scope, $state){
this.goAfter = function(){
$state.go('after');
}
});

In html try use:
< div ng-controller="AfterCtrl as ctrl" class="content" >
< button class="button button-positive" ng-click="ctrl.goAfter()">Go to prev state (page)


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>