Lets say I have my code as below
var app = angular.module("myApp", []);
app.controller("Customerfactory", Customerfactory);
app.service("Address",Address);
app.service("Phone",Phone);
app.service("customer",customer);
app.service('CreateFactory',CreateFactory);
I want to inject Address
and Phone
service into customer
service and then customer
service into createFactory
service using Array Injection technique.
Any thoughts.