Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: aot runtime issues Currently when using the `MdSnackBar` in AOT, there will be runtime exceptions from the NgFactory. Those are caused by the re-exports of DI tokens. The Angular compiler will then look for the first export e.g `MdLiveAnnouncer` and the normal `LiveAnnouncer` export wont be included in the factory. This is breaking at runtime now, because the NgFactory searches for `LiveAnnouncer` but there is only the `LiveAnnouncer` (DI exception) Since this deprecation is pretty old we can safely remove it anyways. Although this is probably an Angular that should be reported separately. Also this commit fixes the output directory of the `aot` gulp task. Currently it outputs the factories in a wrong directory. (This allows us to serve the aot demo-app in the future) * Remove MdUniqueSelectionDispatcher
- Loading branch information