Add window / window.angular in wrapper

Using wrapper pattern