fix for locale template include in combination with angular ui