Page 1 of 1

goTo() not working

Posted: Mon Jan 25, 2016 7:43 am
by leven.steve

The project has a goTo(page) function defined in index (when it was first created).
If I use codegoTo("testpage")/code in a scope function it says in the console that goTo() is undefined. If I use codeApperyio.navigateTo("testpage");/code then it works.

Why is this?


goTo() not working

Posted: Mon Jan 25, 2016 4:02 pm
by Serhii Kulibaba

Hello Steve,

Please use:
$scope.goTo("testpage");

instead of:
goTo("testpage");