modified files to support angular JS custom directives