This is a way to make live.js work with templates. Tested with Ionic and Angular. Should work with pretty much any framework as long as you specify the routerURL in the script.