move angular dependency into layout