fixes so angular ctrl works after minification