Currently, I am facing a challenge while trying to grasp AngularJS. When I add a controller to my form tag, it seems to disrupt the rest of my AngularJS code.
For example:
start {{ 1 + 1 }}
<form id="contact-form" ng-controller="messagingController">
</form>
end {{ 1 + 1 }}
What actually happens is:
start 2
end {{ 1 + 1 }}
I have already included ng-app on the body tag and added the angular script at the top of my page along with the necessary JS file for the controller.
If you want to check out the complete source, simply head to and scroll down to the bottom of the page.
Any insights or suggestions would be greatly appreciated!
Thank you, Matt