moved from laravel to angular for routing