8 Replies Latest reply on Jun 11, 2014 1:22 AM by Ruben Ruben

    AngularJS url template resource issue


      Hi I have a weird error using AngularJS routeProvider when certain route is being processed

      I get an error when its trying to resolve templateUrl in RhoSimulator console:


      'undefined' is not a function (evaluating '$sce.getTrustedResourceUrl(templateUrl)')


      If I define a template directly instead of templateUrl it works, but I really don't want to have 3m long sausage strings.

      I tried as a pure Angular app and it works, but in synergy with RhoMobile this does not work,

      although I haven't tried in Android simulator or on pure device.

      I tried using different url paths to templates, but nothing does it, I'm really out of ideas here.

      So I would really appreciate some help...


      I am using AngularJS 1.2.16 and RhoMobile 4.1.


      EDIT: Ok I tested this with android emulator and my real device still the same issue...