moved all directives here and also switched addPartId() and stylePart() from controller functions to directives
moved all directives here and also switched addPartId() and stylePart() from controller functions to directives

janka102/FabLabMachineTest