reorganize some files
continue image/ideogram popup + reorganize form attributes in one file with ng-switch to avoid bug with checkbox (binding not working)