Make angular application min-safe