I am working on a simple application in RhoMobile
and I am using AngularJS
with it.
When defining routeProvider
, I have come to the strangest issue I have seen.
I tried many things, like chaning the path for templateUrl
defining an explicit one, but with no success. But if I use template property instead of templateUrl
it works.
I am getting this error:
Error: 'undefined' is not a function (evaluating '$sce.getTrustedResourceUrl(templateUrl)')
I am using AngularJS v1.2.16
and I am out of ideas.
EDIT: I set up an example RhoMobile application with angular-seed which has the error, you can find the application here
UPDATE:: I got reply from RhoMobile core developers that this will be fixed in 4.2