Migrated citiation to angularjs style templating
Only show template comments when in dev mode to keep html smaller.