bugfix: javascript error loading angular module on firefox