angular/material — pull request #881 by thebigredgeek (2014-12-09 00:24:49+00:00)
Title: fix tab error where contentContainer is gone before onRemove is called

I received the error `Cannot read property 'then' of undefined` when using famous-angular due to the line edited below. This appears to be due to the element being removed before onRemove is being called, and this appears to cause `$animate.leave(self.contentContainer)` to return undefined instead of a promise.