How to append module with directives in angularjs with example