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

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

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