Fixed templateUrl  bug with cross-domain ajax

Move app to web-server or include template in <script> tag