added auto close feature
Merge branch 'master' of github.com:jnwelzel/ng-foobar