Remove the function definition with window and angular

This removal is for my development purpose to support minification of angular js within bower