Instruction: Outline the steps to create a basic custom directive in AngularJS.
Context: This question assesses the candidate's practical skills in extending AngularJS's functionalities by creating custom directives, reflecting their deeper understanding of the framework.