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.