Bootstrap template dependency fix

After switching of order these two lines, you are now able to use features from Angular Bootstrap UI, for example: ui.bootstrap.popover... Without fix there is a error raised caused by missing bootstrap dependency.