AngularJS ngView dropping form control. form undefined -
AngularJS ngView dropping form control. form undefined -
for unusual reason, after having worked while, angularjs partial view template (html file) 1 time loaded ngview drops first form control. discovered when getting $scope.formname undefined.
example:
the html partial template page starts off
<form name="accountcreationform" novalidate> <div>enter business relationship information</div> ... </form>
then when looking @ page source there.
<div>enter business relationship information</div> ...
as can see form element has been removed. i've confirmed controller loading correctly, phone call load page server returning form element , there no scope variable same name. other forms on same page (children , non-children of first form) remain on page , work correctly.
and if wasn't enough, strangest thing work around i've found place <style type="text/css">...</style>
before form element.
if can understand i'm saying , has idea's going on please allow me know.
thanks
angularjs angularjs-routing angularjs-view
Comments
Post a Comment