* code formatting
* add menu directive tests