Ajax loading spinner in Ember1.13


#1

I’m trying to display loading spinner in emberJS during Ajax call. My Code is as given below.I had given the ajax call in the controller action. The problem is that gif image is shown and hidden after the ajax call.I had also tried ajaxStart and ajaxStop but didn’t get the expected results.