Right now we get the wrong type on $scope.form in test/index.html This is because i've been stupid and totally forgot this was hardcoded.