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

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

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