ongoing refactoring on create order page. created directive.