You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pick your Arist: <input type="text" ng-model="data.artist" placeholder="Artist" ng-change="updateArtist()">
<button ng-click="submitArtist()">Submit</button>
{{data.artistData}}
</div>
<div ng-controller="myFactoryCtrl">
<h1>Factory</h1>
Pick your Arist: <input type="text" ng-model="data.artist" placeholder="Artist" ng-change="updateArtist()">
<button ng-click="submitArtist()">Submit</button>
{{data.artistData}}
</div>
<div ng-controller="myProviderCtrl">
<h1>Provider</h1>
<h3>*Provider is the only service we can inject to the config function and establish an initial value. For example, if you wanted to inject your API key into your service at run time, you would have to use Provider. *The sentence below was set in the config function</h3>
Pick your Arist: <input type="text" ng-model="data.artist" placeholder="Artist" ng-change="updateArtist()">