updating require/angular stack