Smarter default title in directive and assets