reorganize directive angular
reorganize directive angular