feat(tear-down): add detachment code to browser

test for browser detach
Merge branch 'master' of https://github.com/mirikle/angular.js