Window resize build - using angular timeout