Split out angular into demo and code