diff --git a/src/Angular.js b/src/Angular.js index 217c3fae896f..ab86866496d4 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -1870,7 +1870,7 @@ function bindJQuery() { extend(jQuery.fn, { scope: JQLitePrototype.scope, isolateScope: JQLitePrototype.isolateScope, - controller: JQLitePrototype.controller, + controller: /** @type {?} */ (JQLitePrototype).controller, injector: JQLitePrototype.injector, inheritedData: JQLitePrototype.inheritedData }); diff --git a/src/ng/http.js b/src/ng/http.js index 6fb205cb04ee..dc45453add0f 100644 --- a/src/ng/http.js +++ b/src/ng/http.js @@ -1255,7 +1255,8 @@ function $HttpProvider() { if ((config.cache || defaults.cache) && config.cache !== false && (config.method === 'GET' || config.method === 'JSONP')) { cache = isObject(config.cache) ? config.cache - : isObject(defaults.cache) ? defaults.cache + : isObject(/** @type {?} */ (defaults).cache) ? + /** @type {?} */ (defaults).cache : defaultCache; } diff --git a/src/ng/location.js b/src/ng/location.js index de0fabeb5b3e..bf1858079c3f 100644 --- a/src/ng/location.js +++ b/src/ng/location.js @@ -216,7 +216,7 @@ function LocationHashbangUrl(appBase, appBaseNoFile, hashPrefix) { withoutHashUrl = ''; if (isUndefined(withoutBaseUrl)) { appBase = url; - this.replace(); + /** @type {?} */ (this).replace(); } } }