cleaning up angular code and defaulting wid to 'startwid' in wid controller