Here I will explain how to use AngularJS to pass / send value
from one controller to another controller with example or AngularJS pass data between
controllers with example or use services in AngularJS to send values from
one controller to another controller with example or AngularJS share data between
controllers with example. In AngularJS by creating services
we can pass values from one controller to another controller.

To send values from one controller to another controller
we need to create custom service with required values and inject that service
into respective controllers to access those values in
AngularJS
for that we need to write the code like as shown below

<htmlxmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Angularjs Pass Values from One Controller
to Another Controller</title>