autoload ctrl and html