Fixed Closure bugs.  Corrected template references in directives.