When working with Express and using Hogan for server-side templating to create a view, how can I provide templates for Angular to use as well?
As an example, consider the following Express view that includes Angular's 'hello world':
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8>
<title>Document</title>
<link rel='stylesheet' href='/stylesheets/style.css' />
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js"></script>
</head>
<body ng-app>
<label for="">Message: <input type="text" ng-model="message"/></label>
<p>{{message}}</p>
</body>
</html>
Is there a way to prevent {{message}}
from being interpreted by Express on the server side?