Today I updated to Angular 1.4 RC0, I found an exception is thrown in this line:
https://github.com/angular/material/blame/master/src/components/sidenav/sidenav.js#L292
After looking at the document, $animate.enter and $animate.leave has different signature, I changed the line to isOpen ? $animate.enter(backdrop, parent) : $animate.leave(backdrop),, the problem solved.
Today I updated to Angular 1.4 RC0, I found an exception is thrown in this line:
https://github.com/angular/material/blame/master/src/components/sidenav/sidenav.js#L292
After looking at the document, $animate.enter and $animate.leave has different signature, I changed the line to
isOpen ? $animate.enter(backdrop, parent) : $animate.leave(backdrop),, the problem solved.