Navigate to another page with header button


I know this is a very easy one and maybe lack of sleep is the cause but all I’m trying to do is have a header button navigate to another page.

I’ve search several forums and found several ways to complete the action in ionic but not a specific solution for creator.

I’ve attempted it using ng-click, state and go()


Figured it out


function ($scope, $stateParams, $state) {

$scope.home = function(){
    }, function(){


Angular directive

and lastly set the directive placement to the nav button.