Sample code exploring the use of AngularJS with the Esri JavaScript API