found bug that caused error when doing hard reload, error was with ui router and ui bootstrap, added shim for them to ensure angular was loaded as a dependency