Hi Jason,
For debugging, and gaining insight on how things work, you can put
something like this in your template:
<pre>{{this|json}}</pre>
<pre>{{this.someForm|json}}</pre>
The this will contain your current scope.
It sounds like you are using a different scope for your controller and
form. You can log out $scope.$id in your controller, and put an {{$id}} in
your template. If the numbers are different, you have a scoping issue. I
would recommend switching to the controllerAs way of working. For details
on that, read trough the entire styleguide
<https://github.com/johnpapa/angular-styleguide>.
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.