@Calendee: Thanks for the reply, yeah i referred same example but in this the included js and css is different so this same example ll not work for me as i m using separate js for all.but in this example they created bundle of some js like…
ionic.bundle.js is a concatenation of:
ionic.js, angular.js, angular-animate.js,
angular-ui-router.js, and ionic-angular.js
There seams also to be a bug in ionic-angular.j Line 539. There should not be a dependency to TemplateLoader because it doesn’t exist. Should i maybe be ionicTemplateLoader?
I just recreated the “unkown provider TemplateLoader” issue. The thing is that for me it’s really hard to create a CodePen, since for some reason it only happens if I lazy-load my app (https://github.com/ocombe/ocLazyLoad). The ionic bundle script is “hard-coded” into index.html in both cases.
patrickdu solved it for me. Replacing 'TemplateLoader' for '$ionicTemplateLoader' in:
the alert not displayed y?
if change this line var app = angular.module(“myApp”, [“ngRoute”]); into var app = angular.module(“myApp”, [“ionic”]);,alert displayed
but i want ngRoute also.please help