I am using AngularJS, and have the following template:
<view title="'Watch ' + movie.title">
<content has-header="true" padding="true">
<video width="100%" height="auto" controls>
<source src="video/{{ movie.id }}.mp4" type="video/mp4">
</video>
</content>
</view>
When I try and run it I get the error Error while interpolating: video/{{ movie.id }}.mp4
Strict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required
. However, I have no problems putting {{ movie.id }}
as text below in a button or anything else, so what's wrong?