issues with angular loading fixed. Angular now manually bootstrapped in require.