angularjs - Added optional interceptorFn and expensiveChecks parameters to IParseService (#10213)

This commit is contained in:
Tim Schubert
2016-07-24 16:34:39 +10:00
committed by Mohamed Hegazy
parent ec2a478b24
commit d55ed5d0f1
3 changed files with 8 additions and 2 deletions

View File

@@ -1098,6 +1098,12 @@ function parseTyping() {
}
}
function parseWithParams() {
var $parse: angular.IParseService;
var compiledExp = $parse('a.b.c', () => null);
var compiledExp = $parse('a.b.c', null, false);
}
function doBootstrap(element: Element | JQuery, mode: string): ng.auto.IInjectorService {
if (mode === 'debug') {
return angular.bootstrap(element, ['main', function($provide: ng.auto.IProvideService) {