package widget

var funcMap = map[string]interface{}{
	"widget_available_scopes": func() (results []string) {
		if len(registeredScopes) > 0 {
			results = append(results, "Default")
		}

		for _, scope := range registeredScopes {
			results = append(results, scope.Name)
		}
		return
	},
}

package widget

var funcMap = map[string]interface{}{
	"widget_available_scopes": func() (results []string) {
		for _, scope := range registeredScopes {
			results = append(results, scope.Name)
		}
		return
	},
}

--- 
+++ 
@@ -2,6 +2,10 @@
 
 var funcMap = map[string]interface{}{
 	"widget_available_scopes": func() (results []string) {
+		if len(registeredScopes) > 0 {
+			results = append(results, "Default")
+		}
+
 		for _, scope := range registeredScopes {
 			results = append(results, scope.Name)
 		}
Add default scope for widget
