Fix problem with don't cleaning removeFunctions after tear down

The problem that array with function to unbind event listeners is never cleaning. So it cause memory leak and unexpected behavior of angular.js (It brokes routing for angular.js v1.3.0)