 
             start: ->
                 target = service.settings.target
+
                 service.settings.classes.map (className) -> target.removeClass(className)
 
                 if not target.hasClass('loading') && !service.settings.template

        template = $el.html()

        $scope.$watch attr.tgLoading, (showLoading) =>
            if showLoading
                currentLoading = $loading()
                    .target($el)

                 currentLoading.finish()

    return {
        priority: 99999,
        link:link
    }

