Added a bunch of functionality from the old ExtJS nwcui app as angular services.