This simple script can be used as a loader while page loading or ajax requests. This based on Sergey Barskiy's loader. It is based on bootstrap2. I simply re write code for bootstrap3. I would like to thank him for his idea.
Bootstrap 3Script has two functions. for show loader myApp.showPleaseWait() and
myApp.hidePleaseWait(),
to close loader.