                 @scope.$destroy()
                 @scope = null
                 @rule = null
-                @resolve = null
                 $(element).html ''
 ]

                        return
                    @scope.$destroy()
                @rule = rule
                @resolve = angular.copy resolve
                @scope = scope.$new()
                if rule.controller
                    resolve.$scope = @scope

        $router.registerView
            scope: null
            rule: null
            updateTemplate: (rule, resolve, destroy) ->
                ###
                Update the poi-view
