controller
define(['angular', 'services','text',
'text!ang/templates/dinamic.html'], function (angular,s,t,template) {
var _temp = template;
return angular.module('myApp.controllers', ['myApp.services'])
.controller('MyCtrl1', ['$scope', 'version', function ($scope, version) {
$scope.scopedAppVersion = template ;
}])
})
template is HTML text : dinamic.html
<p><b> Dinamic Url Text template</b></p>
index.html :
<div ng-controller="MyCtrl1">{{scopedAppVersion}}</div>
In browser i see <p><b> Dinamic Url Text template</b></p>
.He don't parse HTML - tags .
How to fix ?