leven.steve
Posts: 0
Joined: Sun Mar 04, 2012 4:01 pm

goTo() not working

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?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

goTo() not working

Hello Steve,

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

instead of:
goTo("testpage");

Return to “Issues”