angular deferred promise model

angular deferred promise model on visual studio simple html project
committ