Corrected script that make angularks work with turbolink.