added my first directive loader .. auto adds a loading image and removes upon complete of request. http request must return a promise