O'Reilly logo
  • hao wang thinks this is interesting:

parking.directive("directiveName", function () { return { }; });

From

Cover of AngularJS Essentials

Note

自定义指令的代码