1. changed module name templates-main  to templates-palette

2. at the beginning the controller load the current command at the service to the palette directive scope.commands
1. add to paletteService method to store commands that are relevant to the whole application.