mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
angularjs - Added optional interceptorFn and expensiveChecks parameters to IParseService (#10213)
This commit is contained in:
committed by
Mohamed Hegazy
parent
ec2a478b24
commit
d55ed5d0f1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user