Added ng-api, gzip middleware