diff --git a/packages/animations/browser/BUILD.bazel b/packages/animations/browser/BUILD.bazel index a3e87e816d..04b19b0df9 100644 --- a/packages/animations/browser/BUILD.bazel +++ b/packages/animations/browser/BUILD.bazel @@ -13,5 +13,6 @@ ts_library( module_name = "@angular/animations/browser", deps = [ "//packages/animations", + "//packages/core", ], ) diff --git a/packages/animations/browser/src/render/animation_driver.ts b/packages/animations/browser/src/render/animation_driver.ts index 986b4d1e03..0fb38de9be 100644 --- a/packages/animations/browser/src/render/animation_driver.ts +++ b/packages/animations/browser/src/render/animation_driver.ts @@ -6,12 +6,14 @@ * found in the LICENSE file at https://angular.io/license */ import {AnimationPlayer, NoopAnimationPlayer} from '@angular/animations'; +import {Injectable} from '@angular/core'; import {containsElement, invokeQuery, matchesElement, validateStyleProperty} from './shared'; /** * @experimental */ +@Injectable() export class NoopAnimationDriver implements AnimationDriver { validateStyleProperty(prop: string): boolean { return validateStyleProperty(prop); }