ngFormController is created for you when you give a form a name.
<form name="accountForm"> will create $scope.accountForm and this allows you to do things like $scope.accountForm.$setPristine()
However, in my controller tests accountForm is undefined because I suppose it's created after the template is parsed and I'm not sure the template is even considered when testing the controller. How can I mock this up in the test?