Custom tree help

I’m extending the back office with a new section to hold custom form data. My controller code is as below and everything is working fine, however what I would like to do is once the save method has been called redirect the user to the edit page for the newly created form in the same manner as when creating a new macro. I’m assuming that this is done using the navigationService however I have no idea how to go about it. Anyone got any tips?

angular.module("umbraco").controller("MyForm.MyFormCreateController",
function ($scope, $routeParams, contactFormResource, notificationsService, navigationService) {

    $scope.loaded = true;
    $scope.form = {};

    $scope.save = function (form) {
        contactFormResource.save(form).then(function (response) {
            $scope.form = response.data;
            navigationService.syncTree({ tree: "contactForms", path: [-1, -1], forceReload: true });
            notificationsService.success("Success, the form ", form.Name + " has been saved");
        });
    };
});

This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/72262-custom-tree-help