Add global options dynamically to ui-dropdown

how could it be possible ? is there an exemple ?