Hey everyone, I could really use some assistance with AngularJs. My code is quite lengthy, so I have uploaded a document file for you to review. The code snippet below shows my authentication process for email and password. The customerlogin() method returns JSON data that I need to display on the next page. Essentially, I want to pass the data from customerlogin()
to then()
and then to /customerprofil.
I'm following instructions from my boss, but I'm having trouble transferring data to another page using AngularJS. Can someone please help me avoid any duplicate code?
Here's the code
<div class="panel-body" ng-app="agfullstackApp.customerprofile">
<form action="">
<div class="form-group" ng-controller="customerprofileComponent">
<label class="col-md-2 control-label" for="inputDefault">{{full_name}}</label>
</div>