Science, asked by priyasenthil7542, 1 year ago

How do you share data between controllers in AngularJs?

Answers

Answered by sanukj
0
myApp. service('SharedDataService', function () { var Product = { ...

var myApp = angular. module("myApp", ['CalService']); myApp. ...

<div ng-controller="DataController1"> <h2>In Controller 1h2>

Similar questions