fix(ngBrowser): catching exception for .history