Where I want the html to go:
<div>{{display}}</div>
app.js
var app = angular.module('app', []);
app.controller('ctrl', function ($scope) {
$scope.contact = //get the html from contact.html
$scope.display = $scope.contact
});
contact.html
<form>
...
</form>
How could I pass the html to the js file?
UPDATE: I can't use ng-include because this is a SPA, so the area where the contact.html will go isn't static.