I think you need to study ionic and angularjs
you defined you state as openstate and controller for that state is openctrl
and you are routing to the same state
$state.go = function()
{
state.go('openstate');
// change state name here};
I think you need to study ionic and angularjs
you defined you state as openstate and controller for that state is openctrl
and you are routing to the same state
$state.go = function()
{
state.go('openstate');
// change state name here};